- Development Status :: 5 - Production/Stable
- Environment :: Web Environment
- Intended Audience :: Developers
- License :: OSI Approved :: BSD License
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.9
- Programming Language :: Python :: 3.10
When you know about this project and you want to new install websockets to support your project or you get trouble as ModuleNotFoundError: No module named "websockets" or ImportError: cannot import name "websockets" in your project, let follow this tutorial to install websockets
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_websockets_env
- Active the virtual environment
test_websockets_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_websockets_env
- Active the virtual environment
source test_websockets_env/bin/active
To install websockets on Windows(CMD):
py -m pip install websockets
To install websockets on Unix/macOs:
pip install websockets
Example:
pip install websockets==0.1
Please see the version list below table:
Version | Released date | Command |
---|---|---|
websockets 10.3 | 2022-04-17T14:23:21 | Windows: Unix/macOs:
|
websockets 10.2 | 2022-02-21T06:51:43 | Windows: Unix/macOs:
|
websockets 10.1 | 2021-11-14T20:14:32 | Windows: Unix/macOs:
|
websockets 10.0 | 2021-09-09T06:01:06 | Windows: Unix/macOs:
|
websockets 9.1 | 2021-05-27T19:33:57 | Windows: Unix/macOs:
|
websockets 9.0.2 | 2021-05-15T16:08:26 | Windows: Unix/macOs:
|
websockets 9.0.1 | 2021-05-02T18:55:49 | Windows: Unix/macOs:
|
websockets 9.0 | 2021-05-01T20:57:14 | Windows: Unix/macOs:
|
websockets 8.1 | 2019-11-01T13:40:26 | Windows: Unix/macOs:
|
websockets 8.0.2 | 2019-07-31T19:15:07 | Windows: Unix/macOs:
|
websockets 8.0.1 | 2019-07-21T05:38:42 | Windows: Unix/macOs:
|
websockets 8.0 | 2019-07-07T18:08:33 | Windows: Unix/macOs:
|
websockets 7.0 | 2018-11-01T14:58:17 | Windows: Unix/macOs:
|
websockets 6.0 | 2018-07-16T19:52:11 | Windows: Unix/macOs:
|
websockets 5.0.1 | 2018-05-24T11:17:28 | Windows: Unix/macOs:
|
websockets 5.0 | 2018-05-22T05:20:25 | Windows: Unix/macOs:
|
websockets 4.0.1 | 2017-11-02T20:15:33 | Windows: Unix/macOs:
|
websockets 4.0 | 2017-11-02T06:53:22 | Windows: Unix/macOs:
|
websockets 3.4 | 2017-08-20T12:00:51 | Windows: Unix/macOs:
|
websockets 3.3 | 2017-03-29T13:48:15 | Windows: Unix/macOs:
|
websockets 3.2 | 2016-08-17T21:23:21 | Windows: Unix/macOs:
|
websockets 3.1 | 2016-04-21T20:20:25 | Windows: Unix/macOs:
|
websockets 3.0 | 2015-12-25T11:10:02 | Windows: Unix/macOs:
|
websockets 2.7 | 2015-11-18T19:52:29 | Windows: Unix/macOs:
|
websockets 2.6 | 2015-08-18T18:13:56 | Windows: Unix/macOs:
|
websockets 2.5 | 2015-07-28T20:41:47 | Windows: Unix/macOs:
|
websockets 2.4 | 2015-01-31T20:34:32 | Windows: Unix/macOs:
|
websockets 2.3 | 2014-11-03T22:05:17 | Windows: Unix/macOs:
|
websockets 2.2 | 2014-07-28T09:15:36 | Windows: Unix/macOs:
|
websockets 2.1 | 2014-04-26T13:49:36 | Windows: Unix/macOs:
|
websockets 2.0 | 2014-03-17T20:13:08 | Windows: Unix/macOs:
|
websockets 1.0 | 2013-11-14T16:29:28 | Windows: Unix/macOs:
|
websockets 0.1 | 2013-03-30T09:10:30 | Windows: Unix/macOs:
|
Download the distribution file from websockets-10.3.tar.gz or the specific websockets version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_websockets_downloaded_file>
On Unix/macOs:
pip install <path_to_websockets_downloaded_file>
List distribution:
Project link: