#It does not match
$pyenv versions
system
* 2.7.16 (set by /****/****/.pyenv/version)
3.7.3
$python --version
python 3.7.3
$ vim /etc/paths
/usr/local/bin
/usr/bin
/bin
/usr/local/sbin
/usr/sbin
/sbin
But it doesn't work
pyenv init
source ~/.bash_profile
Or
eval "$(pyenv init -)"
that's all
Postscript) -It seems that when you close the terminal, it returns to the initial state. If you write the following in .~ / .bashrc, it will be loaded every time you start it.
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
-BBox-Label-Tool can be used, but it seems that an error occurs even if import tkinter is performed in interactive mode.
Recommended Posts