Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to activate venv python

# to activate the virtual environment, type:
.venvScriptsactivate
# into the terminal. 
# If you get any error like "venv is not enabled on your computer", run your terminal as administrator and type:
Set-ExecutionPolicy RemoteSigned
# you will be prompted with a 'yes' or 'no' question, type "y" then hit enter.
# then try to activate the virtual environment, it will work
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #activate #venv #python
ADD COMMENT
Topic
Name
5+1 =