How to get list of available versions for a package on PyPi1 Dec 2015
For most part you always want to install the latest version, but there is time where you need to install old version.
For an example, we want to know available version for package named Flask
From PyPi website
Apparently if you put unknown version to
pip install, it will throw an error and give you list of available version you could install instead.
$ pip install flask==randomwords
This will give you
Could not find a version that satisfies the requirement flask==randomwords (from versions: 0.1, 0.10.1, 0.10, 0.2, 0.3.1, 0.3, 0.4, 0.5.1, 0.5.2, 0.5, 0.6.1, 0.6, 0.7.1, 0.7.2, 0.7, 0.8.1, 0.8, 0.9) No matching distribution found for flask==randomwords