In order to list all versions of a module in Python that you are looking to download using pip or pip3 module, you can make use of the below syntax.
Syntax:pip index versions <module-name>
Examples:
% pip3 index versions panda
WARNING: pip index is currently an experimental command. It may be removed/changed in a future release without prior warning.
panda (0.3.1)
Available versions: 0.3.1, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.5.macosx-10.9-x86_64
% pip3 index versions boto3
boto3 (1.27.0)
Available versions: 1.27.0, 1.26.165, 1.26.164, 1.26.163, 1.26.162, 1.26.161, 1.26.160,
... 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10,
0.0.9, 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1
If you have a specific module already installed, you will get more info like below.
% pip3 index versions wheel
wheel (0.40.0)
Available versions: 0.40.0, 0.38.4, 0.38.3, 0.38.2, 0.38.1, 0.37.1,
...0.9, 0.8, 0.7, 0.6, 0.5, 0.4.2, 0.4.1, 0.4, 0.3, 0.2, 0.1
INSTALLED: 0.40.0
LATEST: 0.40.0
Facing issues? Have Questions? Post them here! I am happy to answer!
Author Info:
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
More Posts related to PIP,
- WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
- How to install multiple Python Packages at once using pip/pip3 command
- Fix - E: Package python3-pip has no installation candidate
- Fix: >>> pip install - SyntaxError: invalid syntax
- Update All Outdated Modules/Packages using pip3
- pip/pip3 ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied
- pip install see the list of all available versions of package
- How to upgrade pip/pip3 package installer for Python
- Check If Python pip modules are outdated and New Version is Available
- Python: How to install psycopg2 using pip
- Fix Python WARNING: You are using pip version 19 however version 21 is available
- Fix: error: legacy-install-failure Python pip/pip3
- Fix: ModuleNotFoundError: No module named pip
- How to fix PIP Install error: subprocess-exited-with-error
- pip install specific version of a Python Package
- How to list all versions of Python Modules Available using pip/pip3
- How to Upgrade Pandas Package
More Posts:
- Changing Android Intent Tittle using java code - Android
- Angular CLI ng Error: You need to specify a command before moving on. Use --help to view the available commands - HowTos
- Ubuntu Linux: Unzip a zip file using Terminal - Ubuntu
- Android Studio : Build Tools 23.0.0 rc1 is deprecated - Android-Studio
- Fahrenheit to Celsius Temperature Convertor: Tool & Formula - Tools
- 33: Python Program to send an email vid GMail - Python
- How to recover SharePoint FARM if the SQL Server IP changes - SharePoint
- [Fix] Ubuntu E: Unable to locate package sudo error - Ubuntu