pip install django error

后端 未结 3 1131
半阙折子戏
半阙折子戏 2020-12-21 13:24

I\'m trying to install django using pip in Terminal.

I always get an exception, however. The last error is always \"permission deni

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-21 14:11

    sudo pip install django 
    

    The error tells you that you can't access a directory (you don't have enough permissions), so you can gain root access via sudo to get the permissions.

提交回复
热议问题