![]() In this example I am setting up my 2020 M1 MacBook pro, by default the Python version is: ~ python -version Pyenv allows us to install and manage as many versions of Python as I need and flip between them where required, it uses a convention to allow my terminal session to use a version on Python installed under my home directory rather then over writing the global install. I do not want to edit symlinks to the python binaries or use brew/python installers to force overwrite current Python installations. ![]() I do not want to override the default version of Python on the Mac in-case it’s required some something else.I want to use multiple versions of Python locally.I use Python more and more regularly and each time I set up a new machine I go through the same steps to enable a clean and modular way to run multiple versions of Python, each time I forget a step and am left scratching my head, this time I decided to document those steps.
0 Comments
Leave a Reply. |