how to downgrade version of python library with pip code example Example: how to downgrade a package python pip install --upgrade [package]==[version]