Bitcoin Forum
August 08, 2024, 06:23:58 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: compiling on windows Python 3+  (Read 286 times)
johhnyUA (OP)
Legendary
*
Offline Offline

Activity: 2422
Merit: 1845


Crypto for the Crypto Throne!


View Profile
June 04, 2017, 11: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?

.freebitcoin.       ▄▄▄█▀▀██▄▄▄
   ▄▄██████▄▄█  █▀▀█▄▄
  ███  █▀▀███████▄▄██▀
   ▀▀▀██▄▄█  ████▀▀  ▄██
▄███▄▄  ▀▀▀▀▀▀▀  ▄▄██████
██▀▀█████▄     ▄██▀█ ▀▀██
██▄▄███▀▀██   ███▀ ▄▄  ▀█
███████▄▄███ ███▄▄ ▀▀▄  █
██▀▀████████ █████  █▀▄██
 █▄▄████████ █████   ███
  ▀████  ███ ████▄▄███▀
     ▀▀████   ████▀▀
BITCOIN
DICE
EVENT
BETTING
WIN A LAMBO !

.
            ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
▄▄▄▄▄██████████████████████████████████▄▄▄▄
▀██████████████████████████████████████████████▄▄▄
▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
  ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
       ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.PLAY NOW.
kolloh
Legendary
*
Offline Offline

Activity: 1736
Merit: 1023


View Profile
June 05, 2017, 04:39:31 PM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!