Skip to content Skip to sidebar Skip to footer

Permission Denied Pip Virtualenv

I have been trying to set up virtualenv for use with django, but I keep having issues installing virtualenv with pip. jeff@jeff-HP-MacBook-Android:~/repos$ pip install virtualenv C

Solution 1:

I don't think there's anything wrong with your pip installation. virtualenv is itself a Python module, and by default it goes in /usr/local/lib/python2.7/dist-packages, a folder for which your user does not have write permissions. If you have sudo access, it would be easiest to simply try:

sudo pip install virtualenv

Once you've done that, you should be able to create virtualenvs without needing to use sudo. Alternately, there are instructions here for making your own virtual environment, but it looks like you will likely need to do some manual editing of the script it directs you to download.

Post a Comment for "Permission Denied Pip Virtualenv"