Skip to content Skip to sidebar Skip to footer

Python 3 Virtualenv Problems

I'm having a problem similar to this post, but I am already running the latest version of virtualenv and I also get a different ImportError. Using virtualenv with version 2.7 (defa

Solution 1:

The pip program what you are using corresponds to the Python 2.7 version. You need to use the pip which corresponds to Python 3.x. So, you should be using

pip3 install virtualenv

Alternatively, you can create virtual environments in Python 3.3+ with the venv module, like this

python3 -m venv test

Solution 2:

try following

virtualenv --no-site-packages--distribute -p /usr/bin/python3 ~/.virtualenvs/py3

workon py3

Post a Comment for "Python 3 Virtualenv Problems"