Installing libraries in Python

From Computer Science Wiki
Revision as of 10:29, 11 September 2022 by Bmackenty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Python programming language[1]


python3 -m pip install <module name>

If you are trying to install a library for a specific version of python, it may be helpful to specify the full path:

/usr/bin/python3 -m pip install <module name>


References