Replies: 1 comment
Why this happensIn recent releases, the VS Code Python extension updated its environment discovery pipeline. Instead of running broad filesystem scans across global directories, it relies primarily on workspace-local inspection or explicit path configurations to improve performance. Because Poetry creates virtual environments inside a global, hidden cache folder by default The cleanest fix is to tell Poetry to store the virtual environment inside a 1. Set the global Poetry configuration: 2. Re-create your project environment: 3. Verify: |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have problem with the python extension not recognizing poetry cached venv anymore since at least python extension version 2024.10.0 (last that I know it worked).
I've already opened an issue in microsoft/vscode-python#24525 but I have no good solution so far and it's becoming a burden:
Sadly, I didn't find much more on the greater internet, so I'm here to ask if somebody has had the same problem and already found a solution?
All reactions