-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
"ModuleNotFoundError: No module named 'btchip'", however, it also won't let me install 'btchip' #9370
Comments
Similar issue: #6928 . Seems also somewhat related LedgerHQ/btchip-python#42 |
Related issue pypa/setuptools#3801 with same error message as this issue :
in that case an upgrade of setuptools causing btchip to regress. |
I have tried using earlier versions of setuptools, earlier versions of python (3.10.xx as opposed the 3.12 that Ubuntu 24.04 comes with), but to no avail, and I am still unable to perform I have however been able to duplicate the this error with the suspected workflow on a different machine. I installed
The Ubuntu 24.04 installation where I got the error, I also upgraded earlier this year from Ubuntu 22.04. I have not tried yet to install |
Can confirm that also on a completely clean Ubuntu 24.04 installation What I am not sure about is that https://github.com/LedgerHQ/btchip-python has been archived on Oct 16, 2024 and is read-only, yet electrum is still requiring the btchip-python library. I will investigate with ledger further. |
Decided to leave open for a bit longer in case there are some further thoughts/feedback on this. Not being able to use ledger on electrum in Ubuntu 24.04 is not ideal. |
As it's noted here, So it might be a good time to pull the plug on HW.1! 🫡 |
Environment: Ubuntu 24.04, Electrum 4.5.8
Full error message:
It won't also let me install btchip:
I have installed the following (as per https://github.com/spesmilo/electrum-docs/blob/master/hardware-linux.rst):
apt show libudev-dev
Package: libudev-dev
Version: 255.4-1ubuntu8.4
Priority: optional
Section: admin
Source: systemd
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Debian systemd Maintainers [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 197 kB
Depends: libudev1 (= 255.4-1ubuntu8.4)
Homepage: https://www.freedesktop.org/wiki/Software/systemd
Download-Size: 22.0 kB
APT-Manual-Installed: yes
APT-Sources: http://nz.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
Description: libudev development files
This library provides APIs to introspect and enumerate devices on the local
system.
.
This package contains the files needed for developing applications that
use libudev.
N: There is 1 additional record. Please use the '-a' switch to see it
apt show libusb-1.0-0-dev
Package: libusb-1.0-0-dev
Version: 2:1.0.27-1
Priority: optional
Section: libdevel
Source: libusb-1.0
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Aurelien Jarno [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 328 kB
Depends: libusb-1.0-0 (= 2:1.0.27-1)
Recommends: libusb-1.0-doc
Homepage: http://www.libusb.info/
Download-Size: 77.7 kB
APT-Manual-Installed: yes
APT-Sources: http://nz.archive.ubuntu.com/ubuntu noble/main amd64 Packages
Description: userspace USB programming library development files
Library for programming USB applications without the knowledge
of Linux kernel internals.
.
This package contains what you need for compiling sources that
use this library in your own code.
pip show ecdsa
Name: ecdsa
Version: 0.19.0
Summary: ECDSA cryptographic signature library (pure python)
Home-page: http://github.com/tlsfuzzer/python-ecdsa
Author: Brian Warner
Author-email: [email protected]
License: MIT
Location: /home/computer/.local/lib/python3.12/site-packages
Requires: six
Required-by: trezor
pip show hidapi
Name: hidapi
Version: 0.14.0.post4
Summary: A Cython interface to the hidapi from https://github.com/libusb/hidapi
Home-page: https://github.com/trezor/cython-hidapi
Author: Pavol Rusnak
Author-email: [email protected]
License:
Location: /home/computer/.local/lib/python3.12/site-packages
Requires: setuptools
Required-by:
pip show ledger-bitcoin
Name: ledger_bitcoin
Version: 0.3.0
Summary: Client for Ledger Nano Bitcoin application
Home-page: https://github.com/LedgerHQ/app-bitcoin-new
Author: Ledger
Author-email: [email protected]
License:
Location: /home/computer/.local/lib/python3.12/site-packages
Requires: ledgercomm, packaging, typing-extensions
Required-by:
pip show setuptools
Name: setuptools
Version: 75.6.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page:
Author:
Author-email: Python Packaging Authority [email protected]
License:
Location: /home/computer/.local/lib/python3.12/site-packages
Requires:
Required-by: hidapi
The text was updated successfully, but these errors were encountered: