![]() That's it! You have installed Pyenv successfully. An example if you have .bashrc:Ĭd source. After the installation, edit your used shell startup script (.bashrc, .zshrc, .bash_profile. To install it on other platforms, you can watch this section in the GitHub docs. On macOS, you can install this tool using Homebrew:īrew install pyenv Create and manage virtual environments.Set/change a Python version locally for a project.Set/change the global(default) Python version in your computer. ![]() Pyenv is a tool used to manage different Python versions. You will be able to install, uninstall, update, etc in one virtual environment, without affecting the rest of them.Īs mentioned, there are many tools to do this, and I will talk about the ones I find easy to understand and use. Many combinations of compatibility issues can be found but by having those isolated environments you can avoid them. Also, you may need a determined version of a package in one project and another version for others.Īs well as this, a determined version of a package can generate conflicts with packages or Python versions. It's common for certain package versions to be supported only by determined Python versions. Each big colored box represents a Python virtual environment.
0 Comments
Leave a Reply. |