Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (16.4k points)

I have both python 2.7 and 3.8 introduced on my PC however at whatever point I would introduce virtualenv utilizing pip install virtualenvwrapper-win and afterward open another virtualenv utilizing mkvirtualenv test it says Running virtualenv with translator/usr/container/python2. Presently I downloaded django in the virtualenv and got the obsolete variant 1.11. So now I can't import way from django.urls in addition to other things. 

Is there any approach to introduce vitrualenwrapper with python3 interpreter? It would be ideal if you help. I am attempting to learn django and this is making an enormous issue.

1 Answer

0 votes
by (26.4k points)

Try the following code, so that you can establish a virtual environment for any Python version by giving the python interpreter as a contention:

mkvirtualenv -p /path/to/python_binary test

Register python certification course, if you want to learn more about python.

For more details, do check out...

Browse Categories

...