About 221,000 results
Open links in new tab
  1. How can I set up a virtual environment for Python in Visual Studio …

    Jan 9, 2019 · To Activate your virtual environment, Step 1: Open VSCode Step 2: ener ctrl + shift + p step 3: Enter python: Select Interpreter you should be able to see the virtual environment if …

  2. Visual Studio Code not letting me choose Virtual environment …

    Feb 24, 2025 · Activating the virtual environment from the VS Code terminal works for me. That is rather than opening a separate terminal, open the virtual environment directory from the VS …

  3. Creating a virtual Python environment in VS code

    Mar 6, 2024 · To create a .venv folder in vscode. Open vscode in a folder Install the python extension Use the command palette (ctrl+maj+P) and type "Python: Create environment" …

  4. python - how to activate virtual env in vs code? - Stack Overflow

    Aug 31, 2021 · You need to switch your Python interpreter to point to the one within your venv when you switch the interpreter VS code it create a .vscode folder within your workspace with …

  5. Visual Studio Code does not detect Virtual Environments

    Mar 30, 2021 · 77 Visual Studio Code does not detect virtual environments. I run vscode in the folder where the venv folder is located, when I try to select the kernel in vscode I can see the …

  6. python - How can I activate my virtualenv in the Visual Studio …

    Jul 13, 2022 · How can I activate my virtual environment in the Visual Studio Code terminal? I've tried using the workspace settings method, but the settings file was empty.

  7. python - Auto activate virtual environment in Visual Studio Code ...

    Oct 17, 2019 · Locate your Virtual Environment: Python: select interpreter > Enter interpreter path > Find Once you locate your virtual env select your python version: your-virtual-env > bin > …

  8. Error when creating virtual environment in VS Code: …

    Nov 22, 2023 · I have VS Code (v. 1.84.2) along with the Python extension (v2023.20.0). I'm trying to set up a virtual environment with the following steps: I typed Ctrl-Shift-P to open the …

  9. VsCode - Python: Create Environment not available

    May 22, 2023 · 3 The question is about Using Python environments in VS Code. The section Using the Create Environment command of the above link reads: In Command Palette …

  10. python - Getting error in VS code when trying to create virtual ...

    Feb 26, 2022 · Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Then when I try to create my virtual environment by using this …