Bitcoin Forum
April 26, 2024, 02:07:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: SyntaxError when running Electrum-3.3.4  (Read 104 times)
sedxc (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 1


View Profile
March 10, 2019, 07:05:10 AM
 #1

According to https://electrum.org/#download ->Run without installing, I unpacked Electrum-3.3.4.tar.gz and ran electrum :
Code:
$ tar -xvf Electrum-3.3.4.tar.gz
$ python3 Electrum-3.3.4/run_electrum
  File "Electrum-3.3.4/run_electrum", line 53
    sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
                                                                                                                              ^
SyntaxError: invalid syntax
but the script seems to be buggy.

Any solution to fix it ?

Thanks.
1714140433
Hero Member
*
Offline Offline

Posts: 1714140433

View Profile Personal Message (Offline)

Ignore
1714140433
Reply with quote  #2

1714140433
Report to moderator
1714140433
Hero Member
*
Offline Offline

Posts: 1714140433

View Profile Personal Message (Offline)

Ignore
1714140433
Reply with quote  #2

1714140433
Report to moderator
1714140433
Hero Member
*
Offline Offline

Posts: 1714140433

View Profile Personal Message (Offline)

Ignore
1714140433
Reply with quote  #2

1714140433
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714140433
Hero Member
*
Offline Offline

Posts: 1714140433

View Profile Personal Message (Offline)

Ignore
1714140433
Reply with quote  #2

1714140433
Report to moderator
1714140433
Hero Member
*
Offline Offline

Posts: 1714140433

View Profile Personal Message (Offline)

Ignore
1714140433
Reply with quote  #2

1714140433
Report to moderator
1714140433
Hero Member
*
Offline Offline

Posts: 1714140433

View Profile Personal Message (Offline)

Ignore
1714140433
Reply with quote  #2

1714140433
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
March 10, 2019, 07:32:06 AM
 #2

which version of python do you have installed?

I vaguely recall seeing a post very similar to this... and from memory, it was because the user was using an older version of Python 3... but latest versions of Electrum need Python 3.6. I will see if I can find the reference.

EDIT: Found it! From the Electrum Release notes: https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES#L47
* The minimum python version was increased to 3.6

The previous topic was this one: https://bitcointalk.org/index.php?topic=5088612.0

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
March 10, 2019, 06:35:50 PM
 #3

Use the appimage version instead. See the instructions for linux here.
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!