Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to create a virtual environment in python ubuntu

python3 -m venv name_environment #this creates the virtual environment

source name_environment/bin/activate #this activates the virtual environment

#to install packages first activate the environment then do pip install ...
 
PREVIOUS NEXT
Tagged: #create #virtual #environment #python #ubuntu
ADD COMMENT
Topic
Name
4+2 =