Answers for "how to activate a python virtual environment from a script file"

8

how to activate virtual environment in python

# for windows 10

py -m venv myvirtualenv
myvirtualenvScriptsactivate #!!!! use "" not "/" !!!!!
Posted by: Guest on May-09-2021
0

how to activate python virtual environment

#open directory with terminal where you crated vertual environment
#example your venv name <visualscrapy>
teamspirit:~$ cd visualscrapy
#teamspirit:~/visualscrapy$  <-- output
#Now type bellow command
source ./bin/activate
#(visualscrapy) teamspirit:~/visualscrapy$   <-- output
Posted by: Guest on December-23-2020

Code answers related to "how to activate a python virtual environment from a script file"

Python Answers by Framework

Browse Popular Code Answers by Language