Plugin for scanning/listing virtual environments that use pyenv-managed python installations #1783
Unanswered
pfheatwole
asked this question in
Show and tell
Replies: 1 comment 6 replies
|
As for me, this is quite an interesting functionality. Maybe you should create a PR? |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I was tidying my work environment and wanted to know which pyenv versions were safe to uninstall. Virtual environments can be created in a variety of ways (
poetry install,python -m venv <name>, etc), so it's not trivial to track which versions of pyenv-managedpythoninstallations are linked to virtual environments, so I threw this together:https://gist.github.com/pfheatwole/a298e5698eeb517f770b68c154b9682c
Example output:
Maybe there's an easier way to do this, but I thought this might help someone. Cheers!
All reactions