11
8

More than 3 years have passed since last update.

pyenvのパスが通らない

Posted at

pyenvのパスが通らない

手順通りにインストールして .zshrc(.bashrc)に

eval "$(pyenv init -)"

を書いても

$ which python
usr/bin/python

となってしまう

正解

eval "$(pyenv init --path)"

大半の記事はeval"$(pyenv init -)"と書いてあるがこっちが正しいらしい.

11
8
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
11
8