Python - Cannot install requests[security]: Operation not permitted

后端 未结 1 1972
傲寒
傲寒 2021-01-23 14:40

When I try to run sudo pip2 install requests[security] I get this error:

    MacBook-Pro-di-Francesco:~ francesco$ sudo pip2 install requests[secur         


        
相关标签:
1条回答
  • 2021-01-23 14:48

    It's generally a bad idea to install libraries on your system-wide Python. Use a virtualenv for each project instead.

    See also: https://apple.stackexchange.com/a/209583

    0 讨论(0)
提交回复
热议问题