pip uses incorrect cached package version, instead of the user-specified version
Here is an example of how to use pip to install a specific version of a package, rather than using a cached version:
pip install package_name==version_numberFor example, if you want to install version 2.3 of the package "requests":
pip install requests==2.3You can also use > or < to specify a range of versions that you want to install
pip install package_name>=version_number
pip install package_name<=version_numberAdditionally, you can use pip install --no-cache-dir package_name to force pip to ignore the cache and install the package again.