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