About Pip Upgrades

pip install --upgrade somemodule also upgrades the dependencies which is not always the desired effect. To upgrade just somemodule, specify the version to which you want to upgrade, like: pip install somemodule==2.0.

Tips and Tricks Python 3.6 Python 2.7