error: could not create '/usr/local/lib/python2.7/dist-packages/virtualenv_support': Permission denied

前端 未结 9 885
情歌与酒
情歌与酒 2020-12-13 05:35

I am using ubuntu 12.04 and I am trying to pip install virtualenv but suddenly I got this error.

samuel@sampc:~$ pip install virtualenv
Downloading/unpacking         


        
9条回答
  •  一向
    一向 (楼主)
    2020-12-13 06:34

    In the case of permission denied error, you just need to go with this command.

    sudo pip install virtualenv
    

    sudo before the command will throw away the current user permissions error.

    Note: For security risks, You should read piotr comment.

提交回复
热议问题