Installing libraries in Python: Difference between revisions

From Computer Science Wiki
(Created page with "right|frame|Python programming language<ref>http://www.flaticon.com/</ref> python -m pip install <module name> If you are still stuck, or you have other...")
 
No edit summary
Line 1: Line 1:
[[file:python.png|right|frame|Python programming language<ref>http://www.flaticon.com/</ref>]]
[[file:python.png|right|frame|Python programming language<ref>http://www.flaticon.com/</ref>]]


  python -m pip install <module name>
 
  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>


If you are still stuck, or you have other questions,  you may want to [https://discuss.computersciencewiki.org/ '''ask a question on our discussion board'''].
If you are still stuck, or you have other questions,  you may want to [https://discuss.computersciencewiki.org/ '''ask a question on our discussion board'''].

Revision as of 10:16, 14 December 2021

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>

If you are still stuck, or you have other questions, you may want to ask a question on our discussion board.

References