Author

Topic: SyntaxError when running Electrum-3.3.4 (Read 116 times)

legendary
Activity: 3710
Merit: 1586
March 10, 2019, 01:35:50 PM
#3
Use the appimage version instead. See the instructions for linux here.
HCP
legendary
Activity: 2086
Merit: 4363
March 10, 2019, 03: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://bitcointalksearch.org/topic/electrum-332-syntaxerror-invalid-syntax-5088612
newbie
Activity: 5
Merit: 1
March 10, 2019, 03: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 '")
                                                                                                                              ^
SyntaxError: invalid syntax
but the script seems to be buggy.

Any solution to fix it ?

Thanks.
Jump to: