Skip to content

Instantly share code, notes, and snippets.

@aidev13
Last active November 29, 2023 23:24
Show Gist options
  • Save aidev13/52172901192be4dbe2f14be8920fd911 to your computer and use it in GitHub Desktop.
Save aidev13/52172901192be4dbe2f14be8920fd911 to your computer and use it in GitHub Desktop.
How to setup a venv folder in VScode

How to setup a venv folder in VsCode

Using the Create Environment command

  • To create local environments in VS Code using virtual environments or Anaconda, you can follow these steps: open the Command Palette (Ctrl+Shift+P), search for the Python: Create Environment command, and select it.

  • Select venv

  • Select the project you want the venv to be attached to (if more than one project is up)

  • Select the interpreter path you want to use

print('Hello World')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment