Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add virtual environment in vscode

# If you created a virtual enviroment and vscode is not detecting it then
# follow the steps
-----------------------------------------------------------------------------
step1> on your keyboard press ctrl + , (it will open setting)

step2> search venv (this will show two option)

step3> You will see "add item" button in a option named "Python: Venv Folders"
click on that

step4> Navigate to directory where your virtual env folders reside for example
by default conda environments are located in "C:Users
ameanaconda3envs"
folder. So you can add this directory

step5> Now vscode will show all virtual environment
-----------------------------------------------------------------------------
 
PREVIOUS NEXT
Tagged: #add #virtual #environment #vscode
ADD COMMENT
Topic
Name
8+1 =