Djangoを入れようとしたら、pythonのversionが合わないと言われpythonのversionを変えようと思った。
しかし、versionの切り替えに詰まったのでまとめます。
環境:
mac big sur
zsh 使用
zshに以下を記述。
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
これで、macの標準のpythonを使わせることを取りやめ、pyenvのpathを読ませる記述らしい。
Go to list of users who liked
More than 3 years have passed since last update.
Djangoを入れようとしたら、pythonのversionが合わないと言われpythonのversionを変えようと思った。
しかし、versionの切り替えに詰まったのでまとめます。
環境:
mac big sur
zsh 使用
zshに以下を記述。
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
これで、macの標準のpythonを使わせることを取りやめ、pyenvのpathを読ませる記述らしい。
Register as a new user and use Qiita more conveniently
Go to list of users who liked