Skip to content

How to make virtual environments get recognized per project? #24950

Answered by karthiknadig
eabase asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried this:

  1. Navigate to your project in external terminal
  2. activate using .venv/Scripts/activate
  3. Then launch code . from that terminal (code-insiders . for insiders version of VS Code)

That should automatically select the environment.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eabase
Comment options

Answer selected by eabase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants