due to network constraints and security constraints, I must use python 2.7.11, and thus a lot of python packages don't install correctly with pip install
, since it downloads a version that was released years after the python version was released.
Is there a way to automatically download the last version of a package which was compatible with python 2.7.11 including all of its dependencies (which also have to be compatible with python 2.7.11) without having to manually check which versions download correctly?
For example, I'd like to do something like
pip install pyautogui --py-version 2.7.11