Author

Topic: [Linux] Electrum-3.2.4 is ok but Electrum-3.3.x don't run [RESOLVED] (Read 214 times)

hero member
Activity: 708
Merit: 506
I support freedom of choice
Why don't users lock their own thread (or/and edit the title) once it was resolved....  Undecided

Yes, sorry. I have edited the title with [RESOLVED]. I hope It is enough.
+Merit to the resolver.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
What is your Linux distro and version?
Please read the replies before replying, this issue was already resolved, and it's an outdated python version:
Tanks very much, your answer explain the incompatibility. My linux box is up to date and It is installed python 3.5.3. I stay with Electrum 3.2.4 until the new packet arrive in my distribution repository. I'll check the update from time to time.

Why don't users lock their own thread (or/and edit the title) once it was resolved....  Undecided
legendary
Activity: 2030
Merit: 1573
CLEAN non GPL infringing code made in Rust lang
I had an old version of Electrum: Electrum-3.1.2 and I upgrade it to the last version but don't run. The last version that is ok for my linux box is: Electrum-3.2.4.

What is your Linux distro and version?
hero member
Activity: 708
Merit: 506
I support freedom of choice
There may be an issue why its not avaliable for that distro yet. @op if you upgrade you may lose a functioning version or python3 in the process, that's fine if you don't use it much though for anything other than electrum.

Python is widespread used so I cannot upgrade the package without inconvenience.
I could compile python from source and then exec ~/phyton electrum.run but I wait.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
There may be an issue why its not avaliable for that distro yet. @op if you upgrade you may lose a functioning version or python3 in the process, that's fine if you don't use it much though for anything other than electrum.
hero member
Activity: 708
Merit: 506
I support freedom of choice
You need python 3.6 for 3.3.x branch. If your distro has that then install it otherwise stay with 3.2.4. Note that 3.2.x branch won't receive further updates so you will have to upgrade eventually. See if there's a newer version of your distro  or wait until the electrum appimage is released:

https://github.com/spesmilo/electrum/pull/5042/files

Tanks very much, your answer explain the incompatibility. My linux box is up to date and It is installed python 3.5.3. I stay with Electrum 3.2.4 until the new packet arrive in my distribution repository. I'll check the update from time to time. I suppose the next python version will be the 3.6.0.
legendary
Activity: 3696
Merit: 1584
You need python 3.6 for 3.3.x branch. If your distro has that then install it otherwise stay with 3.2.4. Note that 3.2.x branch won't receive further updates so you will have to upgrade eventually. See if there's a newer version of your distro  or wait until the electrum appimage is released:

https://github.com/spesmilo/electrum/pull/5042/files
hero member
Activity: 708
Merit: 506
I support freedom of choice
I had an old version of Electrum: Electrum-3.1.2 and I upgrade it to the last version but don't run. The last version that is ok for my linux box is: Electrum-3.2.4. This is the error:

Code:
[@localhost Electrum-3.3.0]$ python3 run_electrum                                                                  
  File "run_electrum", line 53                                                                                          
    sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install '")                                        
                                                                               ^
SyntaxError: invalid syntax

I'm not a python coder but the code at line 53 is weird, is it correct or my version of python (python3) is not compatible?

The code in 3.2.4 version is this and works fine:
Code:
sys.exit("Error: %s. Try 'sudo pip install '"%str(e))

The option "f" before strings in a function argument is not compatible with my python.

Any help o workaround?



Jump to: