To create a virtual environment I used:
virtualenv -p C:\\Users\\UserName\\AppData\\Local\\Programs\\Python\\Python36-32\\python.exe ve
However I'm not able to activate it. I tried using:
C:\\Users\\UserName\\AppData\\Local\\Programs\\Python\\Python36-32\\python.exe\\ve\\bin\\activate
and
source ve/bin/activate
And neither worked. I looked around the site and couldn't get any of the suggestions to work either (most of the questions I saw were on different OS/Python versions so that might be part of the issue).
Is the actual set up for creating a virtual environment correct? If so, how can I activate it?
In Windows:
Run ve\\Scripts\\activate.bat
In Linux:
source /path/to/ENV/bin/activate
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.