-
Notifications
You must be signed in to change notification settings - Fork 1.2k
The Python extension does not suggest virtual environments from pyenv #15457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is my current User settings related to Python from settings.json:
|
I am having the opposite problem on windows 10 with WSL 2, using visual studio code insiders. I finally set up pyenv so that pyenv shims come first in the path, and added a symlink so that python in Now, however, in visual studio code insiders, the system python doesn't show up as an available interpreter (which I would imagine should be found automatically in |
This is a duplicate of #15439 |
Uh oh!
There was an error while loading. Please reload this page.
Environment data
python.languageServer
setting: PylanceExpected behaviour
All environments created using pyenv virtualenv are listed as options when selecting interpreter.
Actual behaviour
Only system installations and the pyenv installations of Python 3.8.6 is suggested, not any of the virtual environments created. I have tried reinstalling VS Code, the Python extension, as well as pyenv and virtualenv (using homebrew). The .pyenv folder is located at /Users/username/.pyenv. This has never been an issue for me before today.
Steps to reproduce:
Logs
N/A
Please let me know if you need any further information regarding this issue.
The text was updated successfully, but these errors were encountered: