I am trying to install stratum module in python 3.5 on Ubuntu. But I get the error
ImportError: No module named 'server'
My installation command is
python3 setup.py install
Any suggestion how to solve this?
On
The best way to install some package is to use pip install. So at first u need to PATH python and scripts:
Append
C:\Users(your
username)\AppData\Local\Programs\Python\Python36-32
C:\Users(your
username)\AppData\Local\Programs\Python\Python36-32\Scripts
to the Path variable.
Restart Command Prompt.
After that u can use pip install stratum in cmd
On
Okay, another method:
sudo apt update sudo apt upgradeapt-get install python-pippip -Vpip install <package_name>
From the documentation, it says
Python 2.7 or 2.6is needed. As you are trying to use python 3.5.I would suggest going like this (0.2.15 is the latest version), most probably it will work, or at least it will be easier to debug.