Author

Topic: electrumx server problem (Read 526 times)

hero member
Activity: 619
Merit: 500
March 14, 2017, 09:53:01 AM
#2
You might want to try to create an alias to python3 by placing:

Code:
alias python=python3

into the ~/.bashrc or ~/.bash_aliases file.

http://askubuntu.com/questions/320996/make-default-python-symbolic-link-to-link-to-python3#321000
newbie
Activity: 1
Merit: 0
March 12, 2017, 04:06:23 PM
#1
Hey there,
intending to install an electrumx server on vps ubuntu 16.04
having problems with python.
required is 3.5.3
so I installed 3.6


sudo apt-get update
OK:1 http://ubuntu.mirror.serverloft.de/ubuntu xenial InRelease
OK:2 http://ubuntu.mirror.serverloft.de/ubuntu xenial-updates InRelease
OK:3 http://ubuntu.mirror.serverloft.de/ubuntu xenial-security InRelease
OK:4 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu xenial InRelease         
OK:5 http://ppa.launchpad.net/bitcoin-unlimited/bu-ppa/ubuntu xenial InRelease
OK:6 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease
Paketlisten werden gelesen... Fertig               
root@xxxx:~# sudo apt-get install python3.6
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
python3.6 is already the newest version (3.6.0-2~16.04.york0).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 5 nicht aktualisiert.

root@xxxx:~# cd electrumx
root@xxx:~/electrumx# systemctl start electrumx
root@xxx:~/electrumx# journalctl -u electrumx -f
-- Logs begin at Mi 2017-03-08 01:25:13 UTC. --
Mär 12 20:20:57 xxxxx electrumx_server.py[23118]:   File "/usr/local/lib/python3.5/dist-packages/electrumx-1.0-py3.5.egg/EGG-INFO/scripts/electrumx_server.py", line 75, in main
Mär 12 20:20:57 xxxx electrumx_server.py[23118]:   File "/usr/local/lib/python3.5/dist-packages/electrumx-1.0-py3.5.egg/EGG-INFO/scripts/electrumx_server.py", line 33, in main_loop
Mär 12 20:20:57 xxxx electrumx_server.py[23118]: RuntimeError: Python >= 3.5.3 is required to run ElectrumX
Mär 12 20:20:57 xxxx electrumx_server.py[23118]: CRITICAL:root:ElectrumX server terminated abnormally
Mär 12 20:32:57 xxxxx electrumx_server.py[23593]: INFO:root:ElectrumX server starting
Mär 12 20:32:57 xxx electrumx_server.py[23593]: Traceback (most recent call last):
Mär 12 20:32:57 xxxx electrumx_server.py[23593]:   File "/usr/local/lib/python3.5/dist-packages/electrumx-1.0-py3.5.egg/EGG-INFO/scripts/electrumx_server.py", line 75, in main
Mär 12 20:32:57 xxxx electrumx_server.py[23593]:   File "/usr/local/lib/python3.5/dist-packages/electrumx-1.0-py3.5.egg/EGG-INFO/scripts/electrumx_server.py", line 33, in main_loop
Mär 12 20:32:57 xxxx electrumx_server.py[23593]: RuntimeError: Python >= 3.5.3 is required to run ElectrumX
Mär 12 20:32:57 xxx electrumx_server.py[23593]: CRITICAL:root:ElectrumX server terminated abnormally

####checking python -V
####answer is python 3.5.2???
Thank you for any help
Jump to: