Category: Python
Python packages can be installed using pip
.
For example, to install the requests
package:
pip install requests
To install a specific version:
pip install requests==2.24.0
To upgrade a package use the --upgrade
flag:
pip install requests --upgrade
To list installed packages (showing outdated ones):
pip list --outdated
To show details about a specific packages:
pip show requests
Uninstall a specific package:
pip uninstall requests
See pip - The Python Package Installer for more details.