Bitcoin Forum
May 14, 2024, 01:52:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Errors when trying to install Electrum on Linux Mint 18.1  (Read 489 times)
Chris! (OP)
Legendary
*
Offline Offline

Activity: 1382
Merit: 1122



View Profile
June 09, 2017, 07:28:02 PM
 #1

Hi. I'm a Linux newbie so at the tiniest issue I don't have a clue what to do. Also as a millennial this whole 'terminal' thing is something that was gone before I was even born (as a previous/current Windows user). I'm entirely out of my element.

Anyway, I've tried installing with the 2 different methods and here's what I get:

Code:
chris@Chris-Laptop ~ $ sudo apt-get install python-qt4 python-pip
[sudo] password for chris:
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 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
chris@Chris-Laptop ~ $ sudo pip2 install https://download.electrum.org/2.8.3/Electrum-2.8.3.tar.gz
The directory '/home/chris/.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/chris/.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.8.3/Electrum-2.8.3.tar.gz
  Downloading https://download.electrum.org/2.8.3/Electrum-2.8.3.tar.gz (2.3MB)
    100% |████████████████████████████████| 2.3MB 160kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named setuptools
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-QGqeCQ-build/
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.
chris@Chris-Laptop ~ $ pip install --upgrade pip
Requirement already up-to-date: pip in ./.local/lib/python2.7/site-packages
chris@Chris-Laptop ~ $

So what's happening is it looks like something needs to be upgraded but when I try to upgrade it it says I'm already upgraded. When trying the python method it doesn't work either but that's probably because I don't know what
Code:
In the electrum directory, run: 'python electrum'
means. I don't see that anywhere after extracting the download.

Any suggestions?
1715694722
Hero Member
*
Offline Offline

Posts: 1715694722

View Profile Personal Message (Offline)

Ignore
1715694722
Reply with quote  #2

1715694722
Report to moderator
1715694722
Hero Member
*
Offline Offline

Posts: 1715694722

View Profile Personal Message (Offline)

Ignore
1715694722
Reply with quote  #2

1715694722
Report to moderator
1715694722
Hero Member
*
Offline Offline

Posts: 1715694722

View Profile Personal Message (Offline)

Ignore
1715694722
Reply with quote  #2

1715694722
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715694722
Hero Member
*
Offline Offline

Posts: 1715694722

View Profile Personal Message (Offline)

Ignore
1715694722
Reply with quote  #2

1715694722
Report to moderator
1715694722
Hero Member
*
Offline Offline

Posts: 1715694722

View Profile Personal Message (Offline)

Ignore
1715694722
Reply with quote  #2

1715694722
Report to moderator
1715694722
Hero Member
*
Offline Offline

Posts: 1715694722

View Profile Personal Message (Offline)

Ignore
1715694722
Reply with quote  #2

1715694722
Report to moderator
kolloh
Legendary
*
Offline Offline

Activity: 1736
Merit: 1023


View Profile
June 09, 2017, 07:33:35 PM
 #2

Hi. I'm a Linux newbie so at the tiniest issue I don't have a clue what to do. Also as a millennial this whole 'terminal' thing is something that was gone before I was even born (as a previous/current Windows user). I'm entirely out of my element.

Anyway, I've tried installing with the 2 different methods and here's what I get:

Code:
chris@Chris-Laptop ~ $ sudo apt-get install python-qt4 python-pip
[sudo] password for chris:
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 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
chris@Chris-Laptop ~ $ sudo pip2 install https://download.electrum.org/2.8.3/Electrum-2.8.3.tar.gz
The directory '/home/chris/.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/chris/.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.8.3/Electrum-2.8.3.tar.gz
  Downloading https://download.electrum.org/2.8.3/Electrum-2.8.3.tar.gz (2.3MB)
    100% |████████████████████████████████| 2.3MB 160kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named setuptools
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-QGqeCQ-build/
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.
chris@Chris-Laptop ~ $ pip install --upgrade pip
Requirement already up-to-date: pip in ./.local/lib/python2.7/site-packages
chris@Chris-Laptop ~ $

So what's happening is it looks like something needs to be upgraded but when I try to upgrade it it says I'm already upgraded. When trying the python method it doesn't work either but that's probably because I don't know what
Code:
In the electrum directory, run: 'python electrum'
means. I don't see that anywhere after extracting the download.

Any suggestions?


The error looks like you don't have setuptools installed, try the following:
Code:
sudo apt-get install python-setuptools

And then run the pip install command again.
Chris! (OP)
Legendary
*
Offline Offline

Activity: 1382
Merit: 1122



View Profile
June 09, 2017, 07:39:38 PM
Last edit: June 09, 2017, 07:51:03 PM by Chris!
 #3

Hi. I'm a Linux newbie so at the tiniest issue I don't have a clue what to do. Also as a millennial this whole 'terminal' thing is something that was gone before I was even born (as a previous/current Windows user). I'm entirely out of my element.

Anyway, I've tried installing with the 2 different methods and here's what I get:

Code:
-snip-

So what's happening is it looks like something needs to be upgraded but when I try to upgrade it it says I'm already upgraded. When trying the python method it doesn't work either but that's probably because I don't know what
Code:
In the electrum directory, run: 'python electrum'
means. I don't see that anywhere after extracting the download.

Any suggestions?


The error looks like you don't have setuptools installed, try the following:
Code:
sudo apt-get install python-setuptools

And then run the pip install command again.

I'm still getting this:


Code:
The directory '/home/chris/.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.

Would adding the -H command help or is that not my problem?


Edit: Oh never mind I'm up and running now. Thank you very much! You are legendary in my eyes kolloh.
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!