print'PyBitmessage requires PyQt unless you want to run it as a daemon and interact with it using the API. You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download or by searching Google for \'PyQt Download\'. If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon'
print'Error message:',err
print'You can also run PyBitmessage with the new curses interface by providing \'-c\' as a commandline argument.'
print('PyBitmessage requires PyQt unless you want to run it as a daemon and interact with it using the API. You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download or by searching Google for \'PyQt Download\'. If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon')
print('Error message:',err)
print('You can also run PyBitmessage with the new curses interface by providing \'-c\' as a commandline argument.')
os._exit(0)
importbitmessageqt
bitmessageqt.run()
else:
print'Running with curses'
print('Running with curses')
importbitmessagecurses
bitmessagecurses.runwrapper()
else:
@ -234,16 +246,16 @@ class Main:
ifdaemon:
withshared.printLock:
print'Running as a daemon. The main program should exit this thread.'
print('Running as a daemon. The main program should exit this thread.')
else:
withshared.printLock:
print'Running as a daemon. You can use Ctrl+C to exit.'
print('Running as a daemon. You can use Ctrl+C to exit.')