Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install pysdl2-dll via python pip




pysdl2-dll - Pre-built SDL2 binaries for PySDL2, it belongs to Classifiers:

- License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
- Operating System :: MacOS
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX :: Linux

When you know about this project and you want to new install pysdl2-dll to support your project or you get trouble as ModuleNotFoundError: No module named "pysdl2-dll" or ImportError: cannot import name "pysdl2-dll" in your project, let follow this tutorial to install pysdl2-dll



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

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 virtual environment:

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-dll_env

- Active the virtual environment

test_pysdl2-dll_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-dll_env

- Active the virtual environment

source test_pysdl2-dll_env/bin/active


Step 2: OK, now, let flow below content to start the installation pysdl2-dll

To install pysdl2-dll on Windows(CMD):

py -m pip install pysdl2-dll

To install pysdl2-dll on Unix/macOs:

pip install pysdl2-dll


Step 3: If you want to install a specific pysdl2-dll version, add ==<pysdl2-dll version> to the end command line

Example:

pip install pysdl2-dll==2.0.10


Please see the version list below table:

VersionReleased dateCommand
pysdl2-dll 2.0.22.post12022-07-17T17:15:01Windows:

py -m pip install pysdl2-dll==2.0.22.post1

Unix/macOs:

pip install pysdl2-dll==2.0.22.post1

pysdl2-dll 2.0.222022-07-08T20:54:12Windows:

py -m pip install pysdl2-dll==2.0.22

Unix/macOs:

pip install pysdl2-dll==2.0.22

pysdl2-dll 2.0.202022-01-17T23:07:43Windows:

py -m pip install pysdl2-dll==2.0.20

Unix/macOs:

pip install pysdl2-dll==2.0.20

pysdl2-dll 2.0.182022-01-05T20:30:15Windows:

py -m pip install pysdl2-dll==2.0.18

Unix/macOs:

pip install pysdl2-dll==2.0.18

pysdl2-dll 2.0.162021-08-12T19:16:52Windows:

py -m pip install pysdl2-dll==2.0.16

Unix/macOs:

pip install pysdl2-dll==2.0.16

pysdl2-dll 2.0.14.post22021-05-20T14:06:28Windows:

py -m pip install pysdl2-dll==2.0.14.post2

Unix/macOs:

pip install pysdl2-dll==2.0.14.post2

pysdl2-dll 2.0.14.post12020-12-28T18:21:46Windows:

py -m pip install pysdl2-dll==2.0.14.post1

Unix/macOs:

pip install pysdl2-dll==2.0.14.post1

pysdl2-dll 2.0.142020-12-28T17:32:12Windows:

py -m pip install pysdl2-dll==2.0.14

Unix/macOs:

pip install pysdl2-dll==2.0.14

pysdl2-dll 2.0.122020-03-16T04:21:01Windows:

py -m pip install pysdl2-dll==2.0.12

Unix/macOs:

pip install pysdl2-dll==2.0.12

pysdl2-dll 2.0.102020-02-05T01:00:52Windows:

py -m pip install pysdl2-dll==2.0.10

Unix/macOs:

pip install pysdl2-dll==2.0.10


Step 4: Otherwise, you can install pysdl2-dll from local archives:

Download the distribution file from pysdl2-dll-2.0.22.post1.tar.gz or the specific pysdl2-dll version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pysdl2-dll_downloaded_file>

On Unix/macOs:

pip install <path_to_pysdl2-dll_downloaded_file>


List distribution:


Project link:

- Homepage