python install library version code example
Example 1: how to update a module in python
pip install [package] --upgrade
Example 2: stackoverflow: install old version of networkx
pip install matplotlib==2.2.3
pip install networkx==1.10
pip install [package] --upgrade
pip install matplotlib==2.2.3
pip install networkx==1.10