- License :: OSI Approved :: zlib/libpng License
- Natural Language :: Polish
- Programming Language :: Python :: 3.11
- Programming Language :: Python :: Implementation :: CPython
- Programming Language :: Python :: Implementation :: PyPy
- Programming Language :: Python :: Implementation :: Stackless
When you know about this project and you want to new install libusb to support your project or you get trouble as ModuleNotFoundError: No module named "libusb" or ImportError: cannot import name "libusb" in your project, let follow this tutorial to install libusb
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_libusb_env
- Active the virtual environment
test_libusb_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_libusb_env
- Active the virtual environment
source test_libusb_env/bin/active
To install libusb on Windows(CMD):
py -m pip install libusb
To install libusb on Unix/macOs:
pip install libusb
Example:
pip install libusb==1.0.22b2 pre-release
Please see the version list below table:
Version | Released date | Command |
---|
Download the distribution file from libusb-1.0.26b3.tar.gz or the specific libusb version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_libusb_downloaded_file>
On Unix/macOs:
pip install <path_to_libusb_downloaded_file>
List distribution:
- libusb-1.0.22b2.zip
- libusb-1.0.22b4.zip (python version >=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*)
- libusb-1.0.22b5.zip (python version >=3.5.0)
- libusb-1.0.22b8.zip (python version >=3.5.0)
- libusb-1.0.22b9.zip (python version >=3.5.0)
- libusb-1.0.23b1.zip (python version <4.0.0,>=3.6.0)
- libusb-1.0.23b7.zip (python version <4.0.0,>=3.6.0)
- libusb-1.0.24b1-py3-none-any.whl (python version <4.0.0,>=3.6.0)
- libusb-1.0.24b1.zip (python version <4.0.0,>=3.6.0)
- libusb-1.0.24b3-py3-none-any.whl (python version <4.0.0,>=3.7.0)
- libusb-1.0.24b3.zip (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b2-py3-none-any.whl (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b2.zip (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b3-py3-none-any.whl (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b3.tar.gz (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b4-py3-none-any.whl (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b4.zip (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b5-py3-none-any.whl (python version <4.0.0,>=3.7.0)
- libusb-1.0.26b5.zip (python version <4.0.0,>=3.7.0)
Project link: