Author

Topic: (Linux) Installed Electrum won't start. Electrum-Ltc no longer works (Read 149 times)

newbie
Activity: 15
Merit: 0
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.
HCP
legendary
Activity: 2086
Merit: 4363
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
newbie
Activity: 15
Merit: 0
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...
legendary
Activity: 3710
Merit: 1586
use pip3 and sudo so `sudo pip3 install urllib3`
newbie
Activity: 15
Merit: 0
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 '

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.

Jump to: