- License :: OSI Approved :: zlib/libpng License
- License :: Public Domain
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.10
- Programming Language :: Python :: Implementation
- Programming Language :: Python :: Implementation :: CPython
- Programming Language :: Python :: Implementation :: PyPy
When you know about this project and you want to new install PySDL2 to support your project or you get trouble as ModuleNotFoundError: No module named "PySDL2" or ImportError: cannot import name "PySDL2" in your project, let follow this tutorial to install PySDL2
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_PySDL2_env
- Active the virtual environment
test_PySDL2_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_PySDL2_env
- Active the virtual environment
source test_PySDL2_env/bin/active
To install PySDL2 on Windows(CMD):
py -m pip install PySDL2
To install PySDL2 on Unix/macOs:
pip install PySDL2
Example:
pip install PySDL2==0.1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
PySDL2 0.9.13 | 2022-07-26T18:31:04 | Windows: Unix/macOs:
|
PySDL2 0.9.12 | 2022-07-18T16:34:47 | Windows: Unix/macOs:
|
PySDL2 0.9.11 | 2022-01-27T15:46:13 | Windows: Unix/macOs:
|
PySDL2 0.9.10 | 2022-01-11T22:58:43 | Windows: Unix/macOs:
|
PySDL2 0.9.9 | 2021-09-02T19:27:22 | Windows: Unix/macOs:
|
PySDL2 0.9.8 | 2021-08-06T16:58:09 | Windows: Unix/macOs:
|
PySDL2 0.9.7 | 2020-02-15T12:02:21 | Windows: Unix/macOs:
|
PySDL2 0.9.6 | 2017-10-01T09:37:55 | Windows: Unix/macOs:
|
PySDL2 0.9.5 | 2016-10-20T19:13:12 | Windows: Unix/macOs:
|
PySDL2 0.9.4 | 2016-07-07T20:11:11 | Windows: Unix/macOs:
|
PySDL2 0.9.3 | 2014-07-08T19:37:12 | Windows: Unix/macOs:
|
PySDL2 0.9.2 | 2014-04-13T07:16:12 | Windows: Unix/macOs:
|
PySDL2 0.9.1 | 2014-04-05T08:37:05 | Windows: Unix/macOs:
|
PySDL2 0.9.0 | 2014-03-23T08:49:19 | Windows: Unix/macOs:
|
PySDL2 0.8.0 | 2013-12-30T11:54:02 | Windows: Unix/macOs:
|
PySDL2 0.7.0 | 2013-10-27T08:58:35 | Windows: Unix/macOs:
|
PySDL2 0.6.0 | 2013-09-01T12:45:36 | Windows: Unix/macOs:
|
PySDL2 0.5.0 | 2013-08-14T07:00:21 | Windows: Unix/macOs:
|
PySDL2 0.4.1 | 2013-07-26T15:47:30 | Windows: Unix/macOs:
|
PySDL2 0.4.0 | 2013-06-08T18:49:56 | Windows: Unix/macOs:
|
PySDL2 0.3.0 | 2013-05-08T05:01:01 | Windows: Unix/macOs:
|
PySDL2 0.2.0 | 2013-05-03T05:55:01 | Windows: Unix/macOs:
|
PySDL2 0.1.0 | 2013-04-23T18:16:15 | Windows: Unix/macOs:
|
Download the distribution file from PySDL2-0.9.13.tar.gz or the specific PySDL2 version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_PySDL2_downloaded_file>
On Unix/macOs:
pip install <path_to_PySDL2_downloaded_file>
List distribution:
Project link: