Usage: pet.exe [COMMAND]
Commands:
find Finds the environments and reports them to the standard output
server Starts the JSON RPC Server
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
$ pet find
It seems only to search Venv in the EXACTLY current directory. If I run the command in D:\Repo\LSP-bash\plugin, it won't find a Venv but only WindowsRegistry.
Repository: https://github.com/microsoft/python-environment-tools
They introduced this in VSCode v1.91.0. That basically has the same purpose with https://github.com/sublimelsp/LSP-pyright/blob/master/plugin/venv_finder.py
It doesn't have
Releases
on Github but there are artifacts in the CI. E.g., https://github.com/microsoft/python-environment-tools/actions/runs/9775250841But those CI artifacts will be no longer available within days. Here are re-uploaded backups...
Here's an output example of the
pet
tool:$ pet --help
$ pet find
It seems only to search
Venv
in the EXACTLY current directory. If I run the command inD:\Repo\LSP-bash\plugin
, it won't find aVenv
but onlyWindowsRegistry
.