To activate virtualenv in python3.5 under windows, you need to run the activate.bat script. If you use the git bash command line, what if you run the .bat file?
You can do it directlysource activate, you don’t have to execute activate.bat. As follows
source activate
If you want to execute bat, I guess you should use cmd to enter the window environment first, and then execute bat
cmd
open xx.bat
You can do it directly
source activate
, you don’t have to execute activate.bat. As followsIf you want to execute bat, I guess you should use
cmd
to enter the window environment first, and then execute batopen xx.bat