how to downgrade package in python for python 2 code example Example: how to downgrade a package python pip install --upgrade [package]==[version]