0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

pyenv + fish (M1 Mac)

Posted at

よくわからないが、pyenv の PATH の設定方法が変わったらしい。

brew install pyenv
~/.config/fish/config.fish
set -x PYENV_ROOT $HOME/.pyenv
set -x PATH  $PYENV_ROOT/bin $PATH
pyenv init - | source

動くかを確認

pyenv list 
pyenv install 3.9.6
pyenv local 3.9.6
which python

あとはよしなに仮想環境を作る

python -v venv venv
source ./venv/bin/activate.fish

参考リンク

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?