$ pip list
$ pip install <package_name>
$ pip uninstall <package_name>
$ pip install -U <package_name> # upgrades given package(s)
sys.path variable$ python3
Python 3.9.12 (main, May 8 2022, 18:05:47)
[Clang 13.1.6 (clang-1316.0.21.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.>>> import sys
>>> sys.path
['', '/usr/local/Cellar/python@3.9/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python39.zip', '/usr/local/Cellar/python@3.9/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9', '/usr/local/Cellar/python@3.9/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib-dynload', '/usr/local/lib/python3.9/site-packages']
>>>$ pip3 show wheel
Name: wheel
Version: 0.37.1
Summary: A built-package format for Python
Home-page: https://github.com/pypa/wheel
Author: Daniel Holth
Author-email: dholth@fastmail.fm
License: MIT
Location: /usr/local/lib/python3.9/site-packages
Requires:
Required-by:$ python -m pippip tries to:
To install package for user only:
python -m pip install --user babelpython -m pip help <command>Packages downloaded from PyPI (Python Package Index)