Python Versions: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:


This page document how to deal with multiple Python versions on the same system. <code>[[pyenv|pyenv]]</code> is a tool that deals with that.
This page document how to deal with multiple Python versions on the same system. <code>[[pyenv|pyenv]]</code> is a tool that deals with that.
<code>brew</code> install different Python major and minor versions in <code>Cellar</code> using the following naming scheme:
<font size=-2>
  Cellar
  ├─ ...
  ├─ python@3.8
  ├─ python@3.9
  ├─ python@3.10
  ├─ python@3.11
  ├─ python@3.12
  ├─ ...
</font>


=Python Version Management with Brew=
=Python Version Management with Brew=

Revision as of 21:46, 2 November 2023

Internal

Overview

This page document how to deal with multiple Python versions on the same system. pyenv is a tool that deals with that.

brew install different Python major and minor versions in Cellar using the following naming scheme:

 Cellar
  ├─ ...
  ├─ python@3.8
  ├─ python@3.9
  ├─ python@3.10
  ├─ python@3.11
  ├─ python@3.12
  ├─ ...

Python Version Management with Brew