![]() ![]() Update: the command below has been updated to include a change to how the pyenv init - command works. Once installed, run the following command to make sure that the pyenv managed version of Python is picked up: Once the latest version pyenv has been installed, run the following commands to install the latest stable version of Python, which is currently 3.9.1: $ pyenv install 3.9.1 $ pyenv global 3.9.1 $ pyenv version If like me, you need to upgrade, then you can run: $ brew upgrade pyenv From here, jump to Setting up the installer to finish your work. ![]() ![]() ![]() Note 2: Running Cmd+Shift+G in Finder will allow you to easily jump to /macOS-installer. Note: We recommend to move the Install macOS.app into the /Applications folder, as well be executing commands from there. Next up you can either install or upgrade to the latest version of pyenv, which during writing is 1.2.22: $ brew install pyenv Mount it and youll find the installer application. Luckily, I noticed that there was an update to both Python and pyenv when I ran brew update today so decided to give pyenv another try, and it worked as expected.įirst I manually installed some prerequisites suggested on various GitHub issues, just to be on the safe side: $ brew install zlib sqlite bzip2 libiconv libzip When Apple releases a new version of macOS it always takes a few months for everything to catchup, following my last blog post where I mentioned that I was having problems installing Python on macOS Big Surwhich meant that my preferred method of installing and managing Python using pyenv, which is documented in this blog post, didn't work out of the box - and the workarounds suggested workarounds on GitHub made my shell really slow. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |