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

    Jan 9, 2019 · In my project folder I created a venv folder: python -m venv venv When I run command select python interpreter in Visual Studio Code, my venv folder is not shown. I went …

  2. Creating a virtual Python environment in VS code

    Mar 6, 2024 · A .venv folder will be created, and the environment should be activated automatically when you open the folder with vscode (you could select the python to use at the …

  3. 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 …

  4. python - Visual Studio Code does not detect Virtual Environments ...

    Mar 30, 2021 · 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 main …

  5. How to debug python Azure Functions, that use .venv, inside …

    Oct 27, 2023 · Create new python virtual environment: python -m venv .venv .venv activated with .\.venv\Scripts\activate Initialize new Azure Function: func init then func new I use the Azurite …

  6. python 3.x - Activate venv in vs code - Stack Overflow

    Oct 6, 2021 · If so, you should edit your venv/bin/activate script so that it has the correct value for the VIRTUAL_ENV variable. In your project, do you have a .vscode/settings.json file that is …

  7. macos - How can I get my vscode terminal to use my venv for …

    Apr 10, 2019 · This is a problem with the terminal in vscode rather than with the venv itself, as when I follow the above steps in a native terminal (non-integrated) I get the correct path to the …

  8. python - can't automatically activate virtual environment in vscode ...

    Feb 20, 2024 · I'm trying to automatically activate the virtual environment .venv in the terminal whenever I open the VS Code workspace. I have Python installed via pyenv. I tried adding the …

  9. python - How do I get out of a venv in VS Code after deleting the …

    Nov 8, 2023 · Close VS Code entirely and reopen it. This sometimes resets the cached virtual env. Delete the .vscode folder in your project directory. This contains VS Code config files that …

  10. How to add a virtual environment to VS Code's launch.json?

    Apr 6, 2021 · Sometimes launch.json works without specifying the python attribute, but other times the vscode-debugger use the global python instead of the one inside the venv folder, so …