Pip Cheatsheet

kuniga.me > Docs > Pip Cheatsheet

Pip Cheatsheet

Index

  1. Setup
    1. PYTHONPATH

Setup

PYTHONPATH

The directory where pip installs packages is based on PYTHONPATH, so make sure it’s the same one Python reads from (e.g. in Jupyter).

export PYTHONPATH="~/homebrew/lib/python3.9/site-packages/:$PATH"