Published:
Python Permalink
pyenv
Python is a popular programming language used for a wide range of applications, from web development to data analysis. However, managing different Python versions and dependencies across projects can be challenging. This is where pyenv comes in. Pyenv is a powerful tool that allows developers to easily switch between multiple Python versions.
copy to ~/.zshrc.local or ~/.bashrc:
With pyenv installed, you can now install multiple Python versions. To see the available versions, filtering 3 versions, run:
Choose the desired Python version(s) and install them using the following command:
By default, pyenv uses the system’s default Python version. To set a global Python version, use the following command: