xxxxxxxxxx
# install a package to a specific version of python
python<version> -m pip install <package_name>
xxxxxxxxxx
(tutorial-env) $ python -m pip install requests==2.6.0
Collecting requests==2.6.0
Using cached requests-2.6.0-py2.py3-none-any.whl
Installing collected packages: requests
Successfully installed requests-2.6.0
xxxxxxxxxx
pip install Package_name==version
# Example:
pip install MySQL_python==1.2.2