Python Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
</syntaxhighlight>
</syntaxhighlight>


Installs in <code>/usr/local/Cellar/python@3.7</code>.
Installs in <code>/usr/local/Cellar/python@3.7</code> while preserving the current <code>/usr/local/Cellar/python@3.9</code>.


=Linux=
=Linux=

Revision as of 04:58, 14 May 2022

External

Internal

Mac

brew install python3

Multiple Python Versions

brew install python@3.7

Installs in /usr/local/Cellar/python@3.7 while preserving the current /usr/local/Cellar/python@3.9.

Linux

yum install python3