在运行
(我将异常缩短到了跟踪的第一行和最后一行)
pip install pika
后出现以下错误:(我将异常缩短到了跟踪的第一行和最后一行)
Collecting Pika
using cahced pika-0.10.0-py2.py3-none-any.whl
Installing collected packages : pika
Exception:
Traceback
File" /usr/local/lib/python2.7/site-packages/pup/basecommand.py line 223 in main status = self.run(options, args)
.
.
.
File "/usr/local/lib/python2.7/os.py" line 157 in makedirs
mkdir(name ,mode)
OSError [Errno13] Permission denied: '/usr/local/lib/python2.7/site-packages/pika'
我之前尝试使用sudo
,但是我遇到了sudo pip,command not found
的问题。