question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error in libusb1 during installation.

See original GitHub issue

Describe the bug While installing through pip3 I get the error message:

Collecting libusb1==1.7.1
  Using cached libusb1-1.7.1.tar.gz (78 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 libusb1 setup command: use_2to3 is invalid.
      [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.

To Reproduce Steps to reproduce the behavior: run pip3 install cryptoadvance.specter

Expected behavior No error messages during installation.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
StijnBTCcommented, Sep 23, 2022

Fixed it, thank you!

0reactions
k9ertcommented, Sep 8, 2022

We’re almost done with #1688 and there is already a publicly available pip-package. So install it like this:

pip3 install cryptoadvance.specter --pre

This should install v1.13.0-pre1 which should solve this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install libusb-1.0 dll for libusb1 on win64 #7 - GitHub
I just put the dll file at the same directory with my script, ... Error when importing libusb1 on Windows trezor/python-trezor#218.
Read more >
brew install libusb linking failed - Stack Overflow
I am installing libusb with brew in my Mac. brew install libusb. The linking step failed as below. Error: The `brew link` step...
Read more >
gcc: error: /usr/lib/libusb-1.0.so: No such file or directory
First install the dev package: sudo apt update sudo apt install libusb-1.0-0-dev. Next, we can locate the file by listing all the files...
Read more >
[Libusb-win32-devel] Driver installation failed, Error 39, Vista ...
He tried to follow my installation instruction and the result is an "Error 39" (unable to start the driver, or something is missing)....
Read more >
libusb1 - PyPI
getSupportedLanguageList bug when running under python 3. While fixing this bug it was realised that this method returned ctypes objects. This was not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found