Fill these in once
- See which Python runs your code
which python3 - Install with that exact Python
python3 -m pip install requestsUsing a virtual environment? Switch it on first (source .venv/bin/activate). The install name can differ from the import name: import PIL needs pip install pillow.
- See which Python runs your code
which python3 - Install with that exact Python
python3 -m pip install requestsUsing a virtual environment? Switch it on first (source .venv/bin/activate). The install name can differ from the import name: import PIL needs pip install pillow.
- See which Python runs your code
Get-Command python, py - Install with that exact Python
py -m pip install requestsUsing a virtual environment? Switch it on first (.venv\Scripts\Activate.ps1). The install name can differ from the import name: import PIL needs pip install pillow.