Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electrum 3.0.2 - Cannot find python library for 'ledger'. Make sure you install it with python3 #3422

Closed
adrelanos opened this issue Nov 30, 2017 · 7 comments

Comments

@adrelanos
Copy link

Debian stretch.

sudo apt-get install python3-setuptools python3-pyqt5 python3-pip

sudo apt-get install libusb-1.0-0-dev libudev-dev python-btchip

https://download.electrum.org/3.0.2/Electrum-3.0.2.tar.gz

Getting a popup.

Cannot find python library for 'ledger'.
Make sure you install it with python3

There is no package python-ledger / python3-ledger or python3-btchip.

Please kindly advice which package is missing and to be installed.

@SomberNight
Copy link
Member

Try

python3 -m pip install btchip-python

@DelasFlores
Copy link

DelasFlores commented Nov 30, 2017

Im having a similar problen attemting to update to new version of electrum
please help i can find a solution

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for amnesia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-setuptools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

@adrelanos
Copy link
Author

python3 -m pip install btchip-python

That worked for me. Thanks!

What about https://packages.debian.org/search?keywords=python-btchip? python-btchip is unsufficient? Debian maintainers would have to create a package python3-btchip?

@cluelessperson
Copy link

Close. package maintainers problem

@ecdsa ecdsa closed this as completed Dec 4, 2017
@petervnv
Copy link

petervnv commented Jan 5, 2018

I wish you hadn't closed this even though it's not really an electrum problem.

I'm on ubuntu 16.04 and none of the workarounds worked for me.

I think we really need a python3-btchip package for debian/ubuntu to get electrum to work with ubuntu, but there are none available. Does anyone have a link to the code so we could try and compile it ourselves on ubuntu?

Thanks

@SomberNight
Copy link
Member

SomberNight commented Jan 5, 2018

@petervnv
Please provide some info regarding what is failing and how; because it is hard to help without that.

Try:

sudo apt-get install python3-dev cython libusb-1.0-0-dev libudev-dev
python3 -m pip install hidapi
python3 -m pip install btchip-python

Does anyone have a link to the code

https://github.com/LedgerHQ/btchip-python

@petervnv
Copy link

petervnv commented Jan 6, 2018

Thanks @SomberNight
Got it working fine with my Nano S now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants