Bitcoin Forum
May 14, 2024, 10:49:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: (Linux) Installed Electrum won't start. Electrum-Ltc no longer works  (Read 124 times)
VicTwenty (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 28, 2018, 05:40:45 AM
 #1

Linux Mint 17 Qiana

I Installed electrum following the instructions on https://electrum.org/#download
Install dependencies:
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip
Install Electrum:
sudo pip3 install https://download.electrum.org/3.1.1/Electrum-3.1.1.tar.gz

When I click the electrum icon through the applications menu nothing happens.
I have electrum-ltc installed and it was working. Since installing electrum it will not run.

If I try to start it through the command line I get the following error:
$ ./electrum
Code:
/usr/local/lib/python3.4/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.2.1) doesn't match a supported version!
  RequestsDependencyWarning)
Error: cannot import name 'DependencyWarning'. Try 'sudo pip install <module-name>'

Trying to update urllib3 and chardet I get these errors:
$ sudo pip install urllib3
Code:
Requirement already satisfied (use --upgrade to upgrade): urllib3 in /usr/lib/python2.7/dist-packages
Cleaning up...

$ pip install --upgrade urllib3
Code:
Downloading/unpacking urllib3 from https://pypi.python.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl#md5=1c11e1c80371cc4e89911071010a98d1
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB): 132kB downloaded
Installing collected packages: urllib3
  Found existing installation: urllib3 1.7.1
    Not uninstalling urllib3 at /usr/lib/python2.7/dist-packages, owned by OS
  Can't roll back urllib3; was not uninstalled
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1436, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 672, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 902, in move_wheel_files
    pycompile=self.pycompile,
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 206, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 193, in clobber
    os.makedirs(destsubdir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/urllib3'

Any help is appreciated.

The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715683790
Hero Member
*
Offline Offline

Posts: 1715683790

View Profile Personal Message (Offline)

Ignore
1715683790
Reply with quote  #2

1715683790
Report to moderator
1715683790
Hero Member
*
Offline Offline

Posts: 1715683790

View Profile Personal Message (Offline)

Ignore
1715683790
Reply with quote  #2

1715683790
Report to moderator
Abdussamad
Legendary
*
Online Online

Activity: 3612
Merit: 1564



View Profile
March 28, 2018, 09:56:02 AM
 #2

use pip3 and sudo so `sudo pip3 install urllib3`
Ayanamirs
Member
**
Offline Offline

Activity: 137
Merit: 10


View Profile
March 28, 2018, 11:18:25 AM
 #3

You can download the source: https://download.electrum.org/3.1.2/Electrum-3.1.2.tar.gz

Don't forget to verify: https://bitcointalk.org/index.php?topic=3200963.0
VicTwenty (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 29, 2018, 07:43:48 AM
 #4

use pip3 and sudo so `sudo pip3 install urllib3`

Thanks for the reply.

tried sudo pip3 install urllib3
Code:
Requirement already satisfied (use --upgrade to upgrade): urllib3 in /usr/lib/python3/dist-packages
Cleaning up...
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
March 30, 2018, 06:41:52 AM
 #5

Did you try what the message suggested and attempt to upgrade the lib?

As per the message, use the --upgrade option:
Code:
sudo pip3 install urllib3 --upgrade

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
VicTwenty (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 30, 2018, 07:31:45 AM
Last edit: March 30, 2018, 07:51:58 AM by VicTwenty
 #6

yep. Same error even when using sudo.

$ sudo pip3 install urllib3 --upgrade
Code:
Downloading/unpacking urllib3 from https://pypi.python.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl#md5=1c11e1c80371cc4e89911071010a98d1
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB): 132kB downloaded
Installing collected packages: urllib3
  Found existing installation: urllib3 1.7.1
    Not uninstalling urllib3 at /usr/lib/python3/dist-packages, owned by OS
Successfully installed urllib3
Cleaning up...

Could it have something to do with the dependencies I installed?
"Install dependencies:
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip"

I had electrum-ltc installed and working fine. Then I installed the dependencies above and electrum (btc), that's when electrum-ltc stopped working.
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!