5/13/2023 0 Comments Py env![]() ![]() The great thing about pyenv for me is that it just works, and I only use it at the very beginning of a project, to create a virtual environment. To install pyenv on MacOS, I've just gone for Homebrew: brew updateĪfter installing you'll have to add a few things to your shell, to configure it. Give it a read!Īs a note, for Windows I've often use the pyenv-win project, which has worked well for me. Their README file actually explains how it works and how to install it really well. So, pyenv to the rescue! This command-line tool will handle installing and running specific Python versions! Also it becomes really tricky to distinguish minor versions, such as python3.10.3 from python3.10.4. You end up with multiple Python executables in your PATH, such as python, python2, python3, python3.7, and so on. If you need to install multiple Python versions, going the ol' installer route isn't the best idea. Some projects use older Python versions, and other projects must use a specific Python version. We get new features and performance improvements, but we don't always want to use the latest version for everything. ![]() As a Python developer, I install new Python versions when they come out. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |