Bitcoin Forum
May 07, 2024, 01:29:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: can't install Electrum on Linux Mint 18.1 Serena Cinnamon  (Read 1087 times)
altnews (OP)
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
January 15, 2017, 04:20:42 PM
 #1

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 ~ $



1715088557
Hero Member
*
Offline Offline

Posts: 1715088557

View Profile Personal Message (Offline)

Ignore
1715088557
Reply with quote  #2

1715088557
Report to moderator
1715088557
Hero Member
*
Offline Offline

Posts: 1715088557

View Profile Personal Message (Offline)

Ignore
1715088557
Reply with quote  #2

1715088557
Report to moderator
1715088557
Hero Member
*
Offline Offline

Posts: 1715088557

View Profile Personal Message (Offline)

Ignore
1715088557
Reply with quote  #2

1715088557
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715088557
Hero Member
*
Offline Offline

Posts: 1715088557

View Profile Personal Message (Offline)

Ignore
1715088557
Reply with quote  #2

1715088557
Report to moderator
1715088557
Hero Member
*
Offline Offline

Posts: 1715088557

View Profile Personal Message (Offline)

Ignore
1715088557
Reply with quote  #2

1715088557
Report to moderator
RealBitcoin
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1009


JAYCE DESIGNS - http://bit.ly/1tmgIwK


View Profile
January 15, 2017, 10:44:22 PM
 #2

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.

Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
January 16, 2017, 08:26:40 AM
 #3

I think you should just use pip2 instead. There is no need to unpack the tarball.
altnews (OP)
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
January 16, 2017, 04:30:51 PM
 #4

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!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!