Third party packages are available for Python at the Python Package Index. These packages can be installed locally using pip. pip comes installed by default with Python. In order to install a package using pip we type the following command in the root directory of the project:

pip install nameOfPackage

Another way would be to use python -m:

python -m pip install nameOfPackage

In order to upgrade a package to the latest version, we type the following:

pip install -U nameOfPackage

If we want to install a specific version of a package, we type the following:

pip install nameOfPackage==version

To uninstall a package we type the following:

pip uninstall nameOfPackage

To view information about a package, we type the following:

pip show nameOfPackage