You can provide the package version with pip command using -v option as shown in the below example –
1 2 3 4 5 6 7 8 |
## Install specific package version pip install -Iv ## You can even use a version range with pip install pip install ' ## To install a specific python package version whether it is the first time, an upgrade or a downgrade use pip install --force-reinstall |