pip install django error

后端 未结 3 1127
半阙折子戏
半阙折子戏 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:09

    pip should be run by a user which has permissions to write to site-packages directory (in your case, /Library/Python/2.7/site-packages/). You should either run it from the root user or under sudo.

提交回复
热议问题