4

I have installed python 3.6 at /usr/bin/python3.6 and I am trying to create a virtualenv using this version of python.

I tried virtualenv --python=/usr/bin/python3.6 testenv and then I activated the virtualenv with source testenv/bin/activate however when I open the python shell it says the version is 2.7.12

Below is a screenshot enter image description here

If the virtualenv is activated then shouldn't it be using Python 3.6? What am I missing here?

user1893354
  • 5,778
  • 12
  • 46
  • 83

0 Answers0