Pyenv

curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash

echo "export PATH=\"\$HOME/.pyenv/bin:\$PATH\"\neval \"\$(pyenv init -)\" \neval \"\$(pyenv virtualenv-init -)\"" >> .zshrc


sudo apt -y install libbz2-dev libreadline-dev libsqlite3-dev libssl-dev build-essential zlib1g-dev

pyenv install -l
pyenv install 3.6.6
pyenv global 3.6.6

參考資料

results matching ""

    No results matching ""