- Intended Audience :: End Users/Desktop
- Operating System :: MacOS
- Operating System :: MacOS :: MacOS X
- Operating System :: Microsoft :: Windows
- Topic :: Communications
- Topic :: Terminals
- Topic :: Terminals :: Serial
When you know about this project and you want to new install pyserial to support your project or you get trouble as ModuleNotFoundError: No module named "pyserial" or ImportError: cannot import name "pyserial" in your project, let follow this tutorial to install pyserial
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_pyserial_env
- Active the virtual environment
test_pyserial_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_pyserial_env
- Active the virtual environment
source test_pyserial_env/bin/active
To install pyserial on Windows(CMD):
py -m pip install pyserial
To install pyserial on Unix/macOs:
pip install pyserial
Example:
pip install pyserial==1.20
Please see the version list below table:
Version | Released date | Command |
---|---|---|
pyserial 3.5 | 2020-11-23T03:59:13 | Windows: Unix/macOs:
|
pyserial 3.4 | 2017-07-23T21:10:01 | Windows: Unix/macOs:
|
pyserial 3.3 | 2017-03-08T01:45:34 | Windows: Unix/macOs:
|
pyserial 3.2.1 | 2016-10-14T20:48:53 | Windows: Unix/macOs:
|
pyserial 3.2 | 2016-10-14T20:23:46 | Windows: Unix/macOs:
|
pyserial 3.1.1 | 2016-06-12T20:49:45 | Windows: Unix/macOs:
|
pyserial 3.1 | 2016-05-27T21:31:25 | Windows: Unix/macOs:
|
pyserial 3.0.1 | 2016-01-11T22:54:33 | Windows: Unix/macOs:
|
pyserial 3.0 | 2015-12-29T19:56:35 | Windows: Unix/macOs:
|
pyserial 2.7 | 2013-10-17T16:08:38 | Windows: Unix/macOs:
|
pyserial 2.6 | 2011-11-02T01:18:34 | Windows: Unix/macOs:
|
pyserial 2.5 | 2010-07-21T23:34:09 | Windows: Unix/macOs:
|
pyserial 2.4 | 2008-07-06T23:01:17 | Windows: Unix/macOs:
|
pyserial 2.3 | 2008-06-19T00:43:19 | Windows: Unix/macOs:
|
pyserial 2.0 | 2003-11-06T23:09:16 | Windows: Unix/macOs:
|
pyserial 1.20 | 2003-09-10T21:47:35 | Windows: Unix/macOs:
|
Download the distribution file from pyserial-3.5.tar.gz or the specific pyserial version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_pyserial_downloaded_file>
On Unix/macOs:
pip install <path_to_pyserial_downloaded_file>
List distribution:
Project link:
- Homepage