- Development Status :: 4 - Beta
- Intended Audience :: Education
- License :: OSI Approved :: MIT License
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.6
- Topic :: Education
- Topic :: System
- Topic :: System :: Hardware
- Topic :: System :: Hardware :: Hardware Drivers
When you know about this project and you want to new install OPi.GPIO to support your project or you get trouble as ModuleNotFoundError: No module named "OPi.GPIO" or ImportError: cannot import name "OPi.GPIO" in your project, let follow this tutorial to install OPi.GPIO
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_OPi.GPIO_env
- Active the virtual environment
test_OPi.GPIO_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_OPi.GPIO_env
- Active the virtual environment
source test_OPi.GPIO_env/bin/active
To install OPi.GPIO on Windows(CMD):
py -m pip install OPi.GPIO
To install OPi.GPIO on Unix/macOs:
pip install OPi.GPIO
Example:
pip install OPi.GPIO==0.1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
OPi.GPIO 0.5.2 | 2021-10-26T15:52:44 | Windows: Unix/macOs:
|
OPi.GPIO 0.5.1 | 2021-08-18T23:45:00 | Windows: Unix/macOs:
|
OPi.GPIO 0.4.0 | 2019-10-21T22:31:44 | Windows: Unix/macOs:
|
OPi.GPIO 0.3.6 | 2019-01-14T09:20:02 | Windows: Unix/macOs:
|
OPi.GPIO 0.3.5 | 2018-11-10T00:22:38 | Windows: Unix/macOs:
|
OPi.GPIO 0.3.4 | 2018-09-16T21:37:08 | Windows: Unix/macOs:
|
OPi.GPIO 0.3.2 | 2018-03-04T23:11:37 | Windows: Unix/macOs:
|
OPi.GPIO 0.3.1 | 2018-01-01T19:14:30 | Windows: Unix/macOs:
|
OPi.GPIO 0.3.0 | 2017-12-31T14:22:40 | Windows: Unix/macOs:
|
OPi.GPIO 0.2.5 | 2017-07-15T21:21:44 | Windows: Unix/macOs:
|
OPi.GPIO 0.2.4 | 2017-05-27T15:58:45 | Windows: Unix/macOs:
|
OPi.GPIO 0.2.3 | 2017-05-26T21:37:32 | Windows: Unix/macOs:
|
OPi.GPIO 0.2.2 | 2017-03-28T19:48:50 | Windows: Unix/macOs:
|
OPi.GPIO 0.2.1 | 2017-03-14T23:36:43 | Windows: Unix/macOs:
|
OPi.GPIO 0.2.0 | 2017-03-14T21:12:28 | Windows: Unix/macOs:
|
OPi.GPIO 0.1.0 | 2017-03-11T00:52:48 | Windows: Unix/macOs:
|
Download the distribution file from OPi.GPIO-0.5.2.tar.gz or the specific OPi.GPIO version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_OPi.GPIO_downloaded_file>
On Unix/macOs:
pip install <path_to_OPi.GPIO_downloaded_file>
List distribution:
- OPi.GPIO-0.1.0-py2.py3-none-any.whl
- OPi.GPIO-0.1.0.tar.gz
- OPi.GPIO-0.2.0-py2.py3-none-any.whl
- OPi.GPIO-0.2.0.tar.gz
- OPi.GPIO-0.2.1-py2.py3-none-any.whl
- OPi.GPIO-0.2.1.tar.gz
- OPi.GPIO-0.2.2-py2.py3-none-any.whl
- OPi.GPIO-0.2.2.tar.gz
- OPi.GPIO-0.2.3-py2.py3-none-any.whl
- OPi.GPIO-0.2.3.tar.gz
- OPi.GPIO-0.2.4-py2.py3-none-any.whl
- OPi.GPIO-0.2.4.tar.gz
- OPi.GPIO-0.2.5-py2.py3-none-any.whl
- OPi.GPIO-0.2.5.tar.gz
- OPi.GPIO-0.3.0-py2.py3-none-any.whl
- OPi.GPIO-0.3.0.tar.gz
- OPi.GPIO-0.3.1-py2.py3-none-any.whl
- OPi.GPIO-0.3.1.tar.gz
- OPi.GPIO-0.3.2-py2.py3-none-any.whl
- OPi.GPIO-0.3.2.tar.gz
- OPi.GPIO-0.3.4-py2.py3-none-any.whl
- OPi.GPIO-0.3.4.tar.gz
- OPi.GPIO-0.3.5-py2.py3-none-any.whl
- OPi.GPIO-0.3.5.tar.gz
- OPi.GPIO-0.3.6-py2.py3-none-any.whl
- OPi.GPIO-0.3.6.tar.gz
- OPi.GPIO-0.4.0-py2.py3-none-any.whl
- OPi.GPIO-0.4.0.tar.gz
- OPi.GPIO-0.5.1-py2.py3-none-any.whl
- OPi.GPIO-0.5.1.tar.gz
- OPi.GPIO-0.5.2-py2.py3-none-any.whl
- OPi.GPIO-0.5.2.tar.gz
Project link: