Closed muppetjones closed 3 years ago
I had the same issue, thanks for your note !
actually adding the following to my config.fish
solved it, as mentioned in #401 :
pyenv init --path | source
That's for fish but for zsh and bash the workaround should be similar.
This additional line was not necessary when using pyenv
<2 and is not mentioned in the documentation,
Please see updated and hopefully clearer Pyenv shell setup instructions in https://github.com/pyenv/pyenv#readme
eval "$(pyenv virtualenv-init -)"
should run in an rc file after eval "$(pyenv init -)"
as before.
Works for me (that's exactly what I already had since stumbling on this), looks good !
Just had a headache of a time figuring out why
pyenv activate ...
was not actually activating a venv. Completely forgot that I'd updated pyenv a bit ago.Solution
This project seems largely abandoned, so mainly leaving this here more as a note.