Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to set up virtual environment in vscode

In the vscode terminal type the following:

python -m venv venv
Comment

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
-----------------------------------------------------------------------------
Comment

PREVIOUS NEXT
Code Example
Python :: list unpacking python 
Python :: python find if part of list is in list 
Python :: python re 
Python :: python ValueError: zero-size array to reduction operation maximum which has no identity 
Python :: games made with python 
Python :: python list tutorial 
Python :: formatting strings in python 
Python :: list python 
Python :: counter method in python 
Python :: pandas read_csv drop column 
Python :: how to inherit a class in python 
Python :: getting url parameters with javascript 
Python :: how to get data from django session 
Python :: max of a list in python 
Python :: joining two lists in python using for loop 
Python :: pandas count distinct values in column 
Python :: doing math in python 
Python :: program in python to print first 10 natural number. 
Python :: hide password in python 
Python :: django reverse lazy 
Python :: df.info() in python 
Python :: print in pythin 
Python :: gui with pygame 
Python :: print function python 
Python :: get source selenium python 
Python :: python mad libs 
Python :: how to make window pygame 
Python :: how to add keyboard to python turtle 
Python :: pandas get number unique values in column 
Python :: how to get github repository access in python code directly 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =