pip

pip

Language
Python
Category
1
Version
22.2.1
Authors
The pip developers
Description
pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes.
Install Instructions
  • Python comes with an "ensurepip" module, which can install pip in a Python environment.
  • For macOS or Linux:
$ python -m ensurepip --upgrade
  • For Windows
C:> py -m ensurepip --upgrade
Usage
  • pip supports installing from PyPI and is the most common scenario.
  • For macOS
python -m pip install SomePackage # latest version
python -m pip install SomePackage==1.0.4 # specific version
python -m pip install 'SomePackage>=1.0.4' # minimum version
  • For Windows
py -m pip install SomePackage # latest version
py -m pip install SomePackage==1.0.4 # specific version
py -m pip install 'SomePackage>=1.0.4' # minimum version
  • Each library will specify what the package name is and if it requires the latest version or a specific version.
Links