How to install multiple Python on your Mac
Briefly

To use a different Python version installed with pyenv, you can set the global Python version using the command 'pyenv global <version>'. This allows you to define which Python version to use by default for all terminal sessions, ensuring that your environment remains consistent across projects that require different versions.
Installing pyenv on macOS is straightforward; you'll need Homebrew as a prerequisite. Once Homebrew is set up, you can easily install pyenv and manage multiple Python versions with simple commands, ensuring you can switch between different environments as needed.
Read at Medium
[
|
]