When writing code in python, pyenv is popular these days. However, the path around python changes drastically, so if you apply a specific python version under a certain directory, autojump will not work in that directory as well.
If you do python --version in the directory where pyenv is set, I think that it is the target version, but directories such as / usr / local / bin also try to work with this version, so the python library can be found Without it, autojump etc. will not work
It works well if you specify the version of python for the part under / usr that you obviously do not expect to work with pyenv.
pyenv_to_system_dir
$ cd /usr
$ sudo pyenv local system
Like this, in my case I set python of system (OS default) to be applied under / usr. What you install with brew basically goes into / usr / local / bin, so system python will be applied to them regardless of their current directory.
Recommended Posts