Python - Pip Commands


2 min read

What is pip?

pip = Python package installer


Installing a package

1pip install package_name

Installing a specific version of a package

1pip install package_name==6.3.2
1pip install package_name>=6.3.2

Remove a package

1pip uninstall package_name

Finding web packages

1pip search search term

Save all packages in a file

To be saved in the root directory.

1pip freeze > requirements.txt.

Helpful links

Previous post:
Python - Pyenv Commands
Next post:
Python - Setting Up A Virtual Environment

Discussion