Bitcoin Forum

Bitcoin => Electrum => Topic started by: Sophokles on May 23, 2018, 02:22:23 PM



Title: Electrum on Ubuntu with Nano Ledger error message
Post by: Sophokles on May 23, 2018, 02:22:23 PM
HI,
I installed Electrum on Ubuntu.
When choosing 'Use a hardware device' in the Install Wizard, I get:

Debug Message
...
ledger:
Missing libraries for ledger

How can I install them. Sorry if this was discussed before, I did not find anything relevant.






Title: Re: Electrum on Ubuntu with Nano Ledger error message
Post by: ranochigo on May 23, 2018, 02:27:50 PM
Seems like you don't have the required libraries for Ledger to communicate.

You need to run the following commands[1]:
- apt-get install libusb-1.0-0-dev
- apt-get install libudev-dev
- ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so
- pip install btchip-python

[1] https://support.ledgerwallet.com/hc/en-us/articles/115005161925-How-to-use-Electrum-with-your-Nano-S


Title: Re: Electrum on Ubuntu with Nano Ledger error message
Post by: Sophokles on May 23, 2018, 11:24:02 PM
Thanks, tried that. But problem still persists...


Title: Re: Electrum on Ubuntu with Nano Ledger error message
Post by: bob123 on May 24, 2018, 09:41:28 AM
Did you install python 3 after having 2.7 already installed?
In that case it might be necessary to run:

Code:
pip3 install btchip-python
pip3 install websocket-client

instead of just

Code:
pip install btchip-python
(like mentioned on ledger's support site)

This does depend on the symlink created. But i believe websocket-client is needed too.


Title: Re: Electrum on Ubuntu with Nano Ledger error message
Post by: Sophokles on May 24, 2018, 11:13:16 AM
Now it works! Thanks to both of you guys!