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