Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

activate virtual environment python

Install venv with this command:
	pip install virtual env
    
Create a directory and type the following command in terminal:
	python -m venv virtual <-- "The last word in command is the name of the venv, you can call it whatever you want."
    
Activate virtual environment:
	source virtual/bin/activate
Source by packaging.python.org #
 
PREVIOUS NEXT
Tagged: #activate #virtual #environment #python
ADD COMMENT
Topic
Name
8+8 =