Empowering you to understand your world

Python: How To Install A Specific Package Version

You can install a specific package version using Python PIP package manager by adding “==[version]” at the end of your pip installation command. The following installs NumPy version 1.24.1:

pip install numpy==1.24.1

If you want to see which versions of the Python package are available, you can use the ‘index’ command as follows:

pip index versions numpy

Subscribe to our newsletter
Get notified when new content is published