I'm on MacOS, and I have latest python installed via brew. A few months ago, I started using pyenv
to be able to switch between latest python and a project that was fixed at python v3.8. I think I got it all set up but I'm confused. pyenv
refuses to show me information about system
:
$ pyenv versions
* system (set by /Users/<user>/.pyenv/version)
3.8.6
$ pyenv version system
system (set by /Users/<user>/.pyenv/version)
$ cat ~/.pyenv/version
system
How do I get pyenv to show me the version and/or location of system
?? Obviously, I can get info about system python when it's the one in use, but why doesn't pyenv
show anything about it? Showing info about the current config seems like basic functionality for a config management tool.
By comparison, when I run apt list --installed
, it shows me what's installed, whether installed by me or bundled with the OS. It doesn't just show a placeholder for things installed by the system.
So I'm frustrated that pyenv
is doing this.
Edit: Wow, nvm
is the same way. How? Why? Why do these tools have a built-in disregard for the system config?