Skip to main content

Python

To upgrade an existing package, use this:

pip install --upgrade PackageName

To install the latest version of a package:

pip install PackageName

To install a specific version:

pip install PackageName==1.1.3

To install greater than or equal to one version and less than another:

pip install PackageName>=1,<2