![]() ![]() The alternative to Pyenv is Conda and MiniConda. ![]() Thus, which aws would return: /Users/john_doe/.pyenv/shims/aws Competitors This technique is possible because the operating system searches for executables in folders in the PATH from left to right. That’s achieved by a line at the bottom of your ~/.bash_profile which makes the operating system search in the shims folder for programs: export PATH="$PYENV_ROOT/shims:$PATH" Pyenv uses a technique called “rehashing” so it can switch among multiple versions of Python2 or Python3.Ĭommands for the operating system to execute “python3” are intercepted by a shim executable which passes commands along to the actual Python installation of the desired version. Why? Because I haven’t seen one on the internet. Here is a hands-on “deep dive” tutorial so you better grasp the complexities in a shorter time. In this article I take a carefully crafted narrated tour.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |