0
0

More than 3 years have passed since last update.

python pyenv 切り替え

Posted at

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を読ませる記述らしい。

参考:
https://teratail.com/questions/289984

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0