Author

Topic: compiling on windows Python 3+ (Read 313 times)

legendary
Activity: 1736
Merit: 1023
June 05, 2017, 11:39:31 AM
#2
Hello, community!
I have Python 3.4 and tried to compile Electrum wallet (2.8.3) using this instruction:
Install PyQt4
Install Electrum-2.8.3.zip
In the electrum directory, run 'python electrum'
(from here - https://electrum.org/#download)
But after i try to run "python electrum" command in my console, i get syntax errors in SimpleJSONRPCServer.py line 62:
     except Exception, e:
                              ^ (means that problem in comma)
And i ask for you help. As i read before, in other threads, for succesfull running i need Python 2.7 version. I have checked syntax and see that Electrum 2.8.3 uses Python 2.7 syntax. So, can i compile it on Python 3+ or i need only 2.7 version?

You should use Python 2.7 rather than Python 3.x . I don't think that Electrum supports Python 3.x at this time.
legendary
Activity: 2436
Merit: 1850
Crypto for the Crypto Throne!
June 04, 2017, 06:48:41 PM
#1
Hello, community!
I have Python 3.4 and tried to compile Electrum wallet (2.8.3) using this instruction:
Install PyQt4
Install Electrum-2.8.3.zip
In the electrum directory, run 'python electrum'
(from here - https://electrum.org/#download)
But after i try to run "python electrum" command in my console, i get syntax errors in SimpleJSONRPCServer.py line 62:
     except Exception, e:
                              ^ (means that problem in comma)
And i ask for you help. As i read before, in other threads, for succesfull running i need Python 2.7 version. I have checked syntax and see that Electrum 2.8.3 uses Python 2.7 syntax. So, can i compile it on Python 3+ or i need only 2.7 version?
Jump to: