Skip to content

pyenv local - venv is started correctly and recognized by nvim but modules not recognized #2589

Answered by steakhutzeee
steakhutzeee asked this question in Q&A
Discussion options

You must be logged in to vote

I found out that when using pyenv local, echo $PYENV_VERSION prints out nothing.

When instead i use pyenv activate my_venv then echo $PYENV_VERSION prints the correct version.

Found this discussion, looks like it's this way by design #1759

To solve, i'm actually using also https://github.com/alefpereira/pyenv-pyright

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by steakhutzeee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant