Failing to automatically Activate .venv #25754
Replies: 1 comment
-
|
This might be a bug, but I "fixed" it in my environment while I was writing up the question by changing the following setting to true in my user settings. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a script that automatically creates a .venv in the project on VSCode folder open. However, I am not able to get VS Code (Python extension) to automatically recognize it and activate it in terminal without the user having to activate or take some action. I get a pop up and have to click Yes, and I am not sure where that setting is stored.

Also, the project's
.vscode/settingsfile is tracked in git, and I don't want the interpreter path to be stored because python executable paths are different across platforms.I am open to any proposed solutions.
Here is the
.vscode/settingsfile that is tracked.Beta Was this translation helpful? Give feedback.
All reactions