You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/computer/.local/lib/python3.12/site-packages/electrum/plugins/ledger/ledger.py", line 42, in <module>
from btchip.btchipComm import HIDDongleHIDAPI
ModuleNotFoundError: No module named 'btchip'
9.41 | W | plugins.ledger.qt.Plugin | Library version for 'ledger' is incompatible.
Installed: 0.3.0, Needed: 0.2.0 <= x < 0.4.0
It won't also let me install btchip:
python3 -m pip install btchip-python
Defaulting to user installation because normal site-packages is not writeable
Collecting btchip-python
Using cached btchip-python-0.1.32.tar.gz (20 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in btchip-python setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
sudo apt-get install libusb-1.0-0-dev libudev-dev
python3 -m pip install hidapi ecdsa ledger-bitcoin #(but it would not accept btchip-python)
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
The text was updated successfully, but these errors were encountered:
gitaccount798
changed the title
ModuleNotFoundError: No module named 'btchip', however, it also won't let me install 'btchip'
"ModuleNotFoundError: No module named 'btchip'", however, it also won't let me install 'btchip'
Dec 17, 2024
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: