Python - Pip

  • 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


  • 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).