Author

Topic: CANT UPGRADE ELECTRUM IN TAILS B/C "unsupported operand types" (Read 358 times)

legendary
Activity: 3710
Merit: 1586
sudo -H pip2 install /path/to/tarball
newbie
Activity: 11
Merit: 0
Thanks for the response Abdussamad.

Forgive me for being a noob, but how would i go about doing that.  I already have the tarball saved in Persistence, im just unsure, about runing pip2, bc i thought thats what i already tried to do in terminal.

legendary
Activity: 3710
Merit: 1586
i think you figured this out already but the problem appears to be network related. you should download the tarball manually using a browser and then run pip2 on it
newbie
Activity: 11
Merit: 0
Trying to install electrum 2.9.3 for days....

used:

sudo apt-get install python-qt4 python-pip

and everything went well.

Next I typed:

sudo pip2 install https://download.electrum.org/2.9.3/Electrum-2.9.3.tar.gz

and I got:
"  Collecting https://download.electrum.org/2.9.3/Electrum-2.9.3.tar.gz
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
    wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url
    hashes=hashes
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 853, in_download_http_url
    stream=True,
File "/usr/share/python-wheels/request-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/share/python-wheels/request-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
    resp= self.send(prep, **send_kwargs)
File "/usr/share/python-wheels/request-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapters.py", line 47, in send
    resp=super(CacheControlAdapter, self).send(request, **kw)
File "/usr/share/python-wheels/request-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
    timeout=timeout
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
    stacktrace=sys.exc_info()[2])
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
    total -=1
TypeError: unsupportrd operand type(s) for -=: 'Retry' and 'int'
"

Anyone else ever encountered this??  Im just trying to upgrade Electrum in Tails OS(USB), but stumped...
More than happy to send BTC to those who help!!
Jump to: