Getting the following after launching : pip install pika
(I have shorted the exception to first line in trace and last line)
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'
Also tried with sudo
before but I got sudo pip,command not found
.
it's better to use virtualenv and run your application within a python sandbox but if you still want to install on your system packages I guess you should reinstall pip. if you're on ubuntu or debian just run sudo apt-get update
and sudo apt-get install python-pip
and then retry pip install pika with sudo: sudo pip install pika