Skip to main content

Python - Pip

·1 min
  • Check pip version: python -m pip --version or pip --version.
  • Upgrade: python -m pip install --user --upgrade pip
  • Install a package using pip: python -m pip install --user pipx
  • Resolve dependencies: pip install -e . or pip install requirements.txt

Note:

  • Not sure what the --user option does. And it’s probably not needed if you are going the Virtualenv route (which you almost always should).