-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Newly created conda and Poetry generated venv not found #10476
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
Notes for anyone looking into this issue, poetry env are not yet supported #8372. We need to investigate the conda env discovery. |
Dup of existing issue, can't remember number. Basically you need to reload VSCode to refresh the list of interprets. There's an issue for that, created by @ericsnowcurrently |
I suspect we may have missed adding |
@DonJayamanne this: #2640 ? @karthiknadig do you remember the issue tracking the |
Vsc doesn't support watching files outside the workspace. |
Yes.
Yes, that's correct. |
Uh oh!
There was an error while loading. Please reload this page.
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): Jedi enabledpython.languageServer
setting: MicrosoftExpected behaviour
After creating a new virtual environment through Conda or Poetry I should be able to select this as the Python interpreter for the project. So VSCode should be able to find it automatically and provide it as an option:
Actual behaviour
I have been having problems selecting the Python interpreter whenever I create a new environment either using Conda or Poetry. The environment is not available to choose as an interpreter (see image above).
Sometimes this appears after restarting VSCode but not every time despite me having set my settings accordingly.
I have even set the
python.pythonPath
to point manually to the venv created.For reference:
Also other folks have been finding this rather frustrating: https://twitter.com/story645/status/1220450768383332353
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
poetry install
I have not managed to get my Poetry venvs working at all
The text was updated successfully, but these errors were encountered: