Use different Python version with virtualenv
Use different Python version with virtualenv
Use different Python version with virtualenv
Usually, activating a virtualenv gives you a shell function named: $ deactivate which puts things back to normal. I have just looked specifically again at the code for virtualenvwrapper, and, yes, it too supports deactivate as the way to escape from all virtualenvs. If you are trying to leave an Anaconda environment, the command depends … Read more
Linux/macos: virtualenv -p python3 env source env/bin/activate pip install -r requirements.txt windows: virtualenv -p python3 env env\scripts\activate pip install -r requirements.txt if you need to specify the full path to python you can use something like virtualenv -p C:\Program Files\Python36\python.exe myvirtualenv