Author

Topic: can't install Electrum on Linux Mint 18.1 Serena Cinnamon (Read 1111 times)

member
Activity: 74
Merit: 10
1) Download the package from the website manually

https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz


2) Unpack it, unpack it in Documents just for simplicity


3) Open the terminal and enter the following

Code:
cd Documents


Code:
cd Electrum-2.7.17


Code:
sudo python setup.py install

Then enter your computer password, and it should work.


If for some reason it gives error, then update the packages list with
Code:
sudo apt-get upgrade

and retry.

Thanks!
legendary
Activity: 3682
Merit: 1580
I think you should just use pip2 instead. There is no need to unpack the tarball.
hero member
Activity: 854
Merit: 1009
JAYCE DESIGNS - http://bit.ly/1tmgIwK
1) Download the package from the website manually

https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz


2) Unpack it, unpack it in Documents just for simplicity


3) Open the terminal and enter the following

Code:
cd Documents


Code:
cd Electrum-2.7.17


Code:
sudo python setup.py install

Then enter your computer password, and it should work.


If for some reason it gives error, then update the packages list with
Code:
sudo apt-get upgrade

and retry.
member
Activity: 74
Merit: 10
user123@user123 ~ $ sudo apt-get install python-qt4 python-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-qt4 is already the newest version (4.11.4+dfsg-1build4).
python-pip is already the newest version (8.1.1-2ubuntu0.4).
0 to upgrade, 0 to newly install, 0 to remove and 13 not to upgrade.
user123@user123 ~ $ sudo pip install https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz
The directory '/home/user123/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/user123/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz
  Downloading https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz (2.0MB)
    100% |████████████████████████████████| 2.0MB 181kB/s
  Requirement already satisfied (use --upgrade to upgrade): Electrum==2.7.17 from https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: slowaes>=0.1a1 in /usr/local/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: ecdsa>=0.9 in /usr/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: pbkdf2 in /usr/local/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: qrcode in /usr/local/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: protobuf in /usr/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: dnspython in /usr/local/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: jsonrpclib in /usr/local/lib/python2.7/dist-packages (from Electrum==2.7.17)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from qrcode->Electrum==2.7.17)
user123@user123 ~ $ sudo -H pip install https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz
Collecting https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz
  Using cached https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz
  Requirement already satisfied (use --upgrade to upgrade): Electrum===2.7.17 from https://download.electrum.org/2.7.17/Electrum-2.7.17.tar.gz in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): slowaes>=0.1a1 in /usr/local/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): ecdsa>=0.9 in /usr/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): pbkdf2 in /usr/local/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): qrcode in /usr/local/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): protobuf in /usr/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): dnspython in /usr/local/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): jsonrpclib in /usr/local/lib/python2.7/dist-packages (from Electrum===2.7.17)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from qrcode->Electrum===2.7.17)
Building wheels for collected packages: Electrum
  Running setup.py bdist_wheel for Electrum ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-fCmEr8-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpKCZ1Y_pip-wheel- --python-tag cp27:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help
 
  error: invalid command 'bdist_wheel'
 
  ----------------------------------------
  Failed building wheel for Electrum
  Running setup.py clean for Electrum
Failed to build Electrum
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
user123@user123 ~ $
user123@user123 ~ $ pip install --upgrade pip
Requirement already up-to-date: pip in ./.local/lib/python2.7/site-packages
user123@user123 ~ $



Jump to: