-1

virtual workspace always contains only python2.7

python -V
Python 3.6.5

virtualenv vitual_workspace
New python executable in vitual_workspace/bin/python2.7
Also creating executable in vitual_workspace/bin/python
Installing setuptools, pip, wheel...
done.

after activating the workspace

python -V
Python 2.7.15

1 Answers1

0

You can create a new virtualenv with python3:

virtualenv -p python3 envname
gCoh
  • 2,431
  • 1
  • 20
  • 39