Bitcoin Forum
October 01, 2025, 05:39:16 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: Program doesn't start from application menu in Centos 7 on: October 17, 2016, 06:53:57 PM
Did all these steps (had already removed the home version earlier) but still exact the same result.
Code:
# pip2 install Electrum-2.7.2.tar.gz
You are using pip version 7.0.3, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Processing ./Electrum-2.7.2.tar.gz
Requirement already satisfied (use --upgrade to upgrade): slowaes>=0.1a1 in /usr/lib/python2.7/site-packages/slowaes-0.1a1-py2.7.egg (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): ecdsa>=0.9 in /usr/lib/python2.7/site-packages (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): pbkdf2 in /usr/lib/python2.7/site-packages/pbkdf2-1.3-py2.7.egg (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/site-packages/requests-2.11.1-py2.7.egg (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): qrcode in /usr/lib/python2.7/site-packages (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): protobuf in /usr/lib/python2.7/site-packages/protobuf-3.1.0.post1-py2.7.egg (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): dnspython in /usr/lib/python2.7/site-packages (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): jsonrpclib in /usr/lib/python2.7/site-packages/jsonrpclib-0.1.7-py2.7.egg (from Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/site-packages (from qrcode->Electrum==2.7.2)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/site-packages (from protobuf->Electrum==2.7.2)
Installing collected packages: Electrum
  Running setup.py install for Electrum
Successfully installed Electrum-2.7.2

The pip2 install also placed a menu item "Electrum Bitcoin Wallet" in my launcher, i.e. /usr/share/applications/electrum.desktop but when I click on it, nothing appears.
When I run electrum as user in a terminal, I get:
Code:
$ electrum
Traceback (most recent call last):
  File "/usr/bin/electrum", line 75, in <module>
    check_imports()
  File "/usr/bin/electrum", line 60, in check_imports
    from google.protobuf import descriptor
ImportError: cannot import name descriptor


When I run electrum in a root terminal - it starts.

How could I allow user (myself) to launch Electrum from my menu launcher?

rgds, Michael
2  Bitcoin / Electrum / Re: Program doesn't start from application menu in Centos 7 on: October 16, 2016, 12:27:11 PM
Here is the output:
Code:
$ head `which electrum`|grep '#\!'|tr -d '#!'
/usr/bin/python

Code:
$ which electrum
/usr/bin/electrum

Code:
$ /usr/bin/python -V
Python 2.7.5
Code:
$ which python
/usr/bin/python

When I run electrum as root in a terminal, it starts but not as user.
3  Bitcoin / Electrum / Program doesn't start from application menu in Centos 7 on: October 08, 2016, 08:25:27 PM
Not sure if this is the proper place to ask since my problem might be an issue with Centos 7.
I installed the Electrum client with the python-pip method and it created also a program item in my application menu.
However - when I click on it, nothing happens.
When I type electrum in a terminal window it says:
Code:
$ electrum
Traceback (most recent call last):
  File "/usr/bin/electrum", line 75, in <module>
    check_imports()
  File "/usr/bin/electrum", line 60, in check_imports
    from google.protobuf import descriptor
ImportError: cannot import name descriptor
Only when I type:
Code:
python /home/user/Electrum/Electrum-2.7.2/electrum 
it launches successfuly the Electrum client.
Re-installation doesn't resolve the issue.
Any thoughts?

rgds, Michael
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!