- Development Status :: 4 - Beta
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.9
- Programming Language :: Python :: 3.10
- Topic :: Utilities
When you know about this project and you want to new install smbus2 to support your project or you get trouble as ModuleNotFoundError: No module named "smbus2" or ImportError: cannot import name "smbus2" in your project, let follow this tutorial to install smbus2
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_smbus2_env
- Active the virtual environment
test_smbus2_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_smbus2_env
- Active the virtual environment
source test_smbus2_env/bin/active
To install smbus2 on Windows(CMD):
py -m pip install smbus2
To install smbus2 on Unix/macOs:
pip install smbus2
Example:
pip install smbus2==0.1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
smbus2 0.4.2 | 2022-06-05T07:37:36 | Windows: Unix/macOs:
|
smbus2 0.4.1 | 2021-01-17T18:56:22 | Windows: Unix/macOs:
|
smbus2 0.4.0 | 2020-12-05T17:55:31 | Windows: Unix/macOs:
|
smbus2 0.3.0 | 2019-09-07T11:19:51 | Windows: Unix/macOs:
|
smbus2 0.2.3 | 2019-01-13T12:24:19 | Windows: Unix/macOs:
|
smbus2 0.2.2 | 2019-01-03T03:58:52 | Windows: Unix/macOs:
|
smbus2 0.2.1 | 2018-06-02T16:21:29 | Windows: Unix/macOs:
|
smbus2 0.2.0 | 2017-08-19T19:54:48 | Windows: Unix/macOs:
|
smbus2 0.1.5 | 2017-05-12T21:24:49 | Windows: Unix/macOs:
|
smbus2 0.1.4 | 2016-09-18T10:34:53 | Windows: Unix/macOs:
|
smbus2 0.1.3 | 2016-08-14T12:16:50 | Windows: Unix/macOs:
|
smbus2 0.1.2 | 2016-04-19T18:15:59 | Windows: Unix/macOs:
|
smbus2 0.1.1 | 2016-04-19T18:15:07 | Windows: Unix/macOs:
|
smbus2 0.1.0 | 2016-04-04T01:53:33 | Windows: Unix/macOs:
|
Download the distribution file from smbus2-0.4.2.tar.gz or the specific smbus2 version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_smbus2_downloaded_file>
On Unix/macOs:
pip install <path_to_smbus2_downloaded_file>
List distribution:
Project link:
- Homepage