ImportError: No module named virtualenv
I think the problem is you need sudo
to globally install virtualenv.
> pip install virtualenvCould not find an activated virtualenv (required).> sudo pip install virtualenvDownloading/unpacking virtualenv...
But this creates files readable only by root (depending on the umask).In this case, uninstalling/reinstalling may not always help.
You can check with ls -la /usr/local/lib/python2.7/dist-packages/virtualenv.py
(replacing 2.7 with whatever version you have or are targeting).
My solution was simply:
sudo chmod -R o+rX /usr/local/lib/python2.7