SriniMurthy
SriniMurthy

Reputation: 132

Pyenv listed version not found

I have Python 3.9.6 installed on my machine, along with 3.6.5, the two of which I use for different projects. At least that is the idea. However, when I run the command pyenv global 3.9.6, I get the response 3.9.6 not installed,

I do find [email protected]/3.9.6 in my Library folder. What's going on here, what's a good way to switch environments please?

Upvotes: 2

Views: 18513

Answers (1)

Munteanu Elvis
Munteanu Elvis

Reputation: 81

Try to use pyenv versions in order to identify the Versions Installed.

If it is not installed you can use pyenv install.

To ask your question:

-Use pyenv install -l in order to see the curent available version that can be installed. Python 3.9.6 it is not one of them!

You did not install with pyenv Python 3.9.6, it cannot be installed with pyenv. That is the reason you cannot use it.

Upvotes: 6

Related Questions