Last active
November 24, 2024 12:31
-
-
Save czuger/8900bed2fc9ec2b616d7b0597f1215a6 to your computer and use it in GitHub Desktop.
Pyenv install for M4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install liblzma-dev | |
| git clone https://github.com/pyenv/pyenv.git ~/.pyenv | |
| cd ~/.pyenv && src/configure && make -C src | |
| echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc | |
| echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc | |
| echo 'eval "$(pyenv init -)"' >> ~/.zshrc | |
| eval "$(pyenv init -)" | |
| git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv | |
| echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrc | |
| pyenv install 3.11.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment