If some scripts still fail, check that you have added Pyenv to the necessary shell startup file(s) as mentioned in step 3 above. Now, the output looks like this: % which python Make the installed Python available everywhere (this can be overridden per project or folder, if necessary): pyenv global 3.10.6 In your home directory: echo 'export PYENV_ROOT="$HOME/.pyenv"' > ~/.zshrcĮcho 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' > ~/.zshrcĮcho 'eval "$(pyenv init -)"' > ~/.zshrc Install Python 3.10.6 but I assume other 3.x versions should work as well: pyenv install 3.10.6Īdd Pyenv to your shell according to the instructions in. Install pyenv ( ) and its dependencies ( ): brew install pyenvīrew install openssl readline sqlite3 xz zlib tcl-tk Tested with Atom 1.60.0 and atom-python-run 0.9.7. Using alias is not necessary when using Pyenv. I just had this problem on a new Macbook Pro with macOS Monterey, and the below worked for me using Homebrew.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |