Bitcoin Forum
November 05, 2024, 11:56:07 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trouble starting Electrum on Debian Linux  (Read 681 times)
TentacleMan (OP)
Full Member
***
Offline Offline

Activity: 128
Merit: 100


INSERT COIN


View Profile
June 30, 2015, 09:47:55 PM
 #1

Hi!

I've used Electrum before without problems but when I try to install it now on my Debian-based system I get some errors I have trouble making sense of.

Code:
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 4, in <module>
    __import__('pkg_resources').run_script('Electrum==2.4', 'electrum')
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 735, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1652, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/EGG-INFO/scripts/electrum", line 72, in <module>
    from electrum import util
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/__init__.py", line 5, in <module>
    from network import Network, DEFAULT_SERVERS, DEFAULT_PORTS, pick_random_server
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/network.py", line 14, in <module>
    import interface
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/interface.py", line 29, in <module>
    import x509
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/x509.py", line 33, in <module>
    tlslite.utils.cryptomath.pycryptoLoaded = False
AttributeError: 'module' object has no attribute 'utils'

Any ideas about how to fix this?

Melange [SPICE] - the spice must flow! Dune themed cryptocurrency, full of win. Official thread ~ Lightweight block explorer
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
July 01, 2015, 07:27:26 AM
 #2

what is the version of tlslite installed on your system?

Electrum: the convenience of a web wallet, without the risks
TentacleMan (OP)
Full Member
***
Offline Offline

Activity: 128
Merit: 100


INSERT COIN


View Profile
July 01, 2015, 07:07:23 PM
 #3

what is the version of tlslite installed on your system?

I'm still on wheezy (because my favorite distro Crunchbang shut down development) so it's the one in oldstable, version 0.3.8-2. Will switch to something else "real soon now".

Melange [SPICE] - the spice must flow! Dune themed cryptocurrency, full of win. Official thread ~ Lightweight block explorer
TentacleMan (OP)
Full Member
***
Offline Offline

Activity: 128
Merit: 100


INSERT COIN


View Profile
July 03, 2015, 10:14:34 AM
 #4

It works now, uninstalled the tlslite package that comes with wheezy and got a hold of the latest version from Github. Btw there is an error in the installation instructions for the development version on electrum . org.

Code:
pyrcc4 icons.qrc -o gui/icons_rc.py

should be

Code:
pyrcc4 icons.qrc -o gui/qt/icons_rc.py

Thanks for setting me on the right track Smiley

Melange [SPICE] - the spice must flow! Dune themed cryptocurrency, full of win. Official thread ~ Lightweight block explorer
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!