User Tools

Site Tools


pip

PIP

Install editable local Projects

pip install -e .

If you updated the project with git pull do this:

pip install -e . -U

also see: https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs

List outdated Packages

pip list -o

List packages in requirements.txt Format

pip list --format freeze

Show and Clean Cache

  • show where the cache is located: pip cache dir
  • Linux: rm -r ~/.cache/pip
  • Windows: delete <user_home>\AppData\Local\pip

also see

pip.txt · Last modified: 2020/07/27 09:06 by pmay