I set up a virtualenv, which is working, but for some reason I need to use sudo for commands as simple as mkdir. Obviously I did something
virtualenv
sudo
mkdir
Check the directory permissions and owner and give:
$ sudo chown -R me:me virtualenvdir $ sudo chmod -R a+rX virtualenvdir
change me with your username, typically $USER, and virtualenvdir with your virtualenv's work directory.
me
virtualenvdir