LoginSignup
0
0

tmuxでpyenvを使う時

Posted at

1. はじめに

tmux 上で

pyenv local <環境変数名>

で仮想環境を変更できなかったことがあるため、自分がやった解決法を載せる

2. やり方

tmux に入ると環境変数 PYENV_VERSION が別の仮想環境に設定されていた

よって環境変数 PYENV_VERSION を以下のコマンドで外す

pyenv shell --unset


このコマンドを実行すればpyenv localが効くようになる

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