Exception: Traceback (most recent call last):
File "/home/aman/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/aman/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run prefix=options.prefix_path,
File "/home/aman/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install **kwargs
File "/home/aman/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/aman/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files isolated=self.isolated,
File "/home/aman/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files clobber(source, lib_dir, True)
File "/home/aman/.local/lib/python2.7/site-packages/pip/wheel.py", line 323, in clobber shutil.copyfile(srcfile, destfile)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 13]
Permission denied: '/usr/local/lib/python2.7/dist-packages/_scandir.so'
Asked
Active
Viewed 25 times
-1

cwallenpoole
- 79,954
- 26
- 128
- 166
-
1Did you try `sudo`? – Nov 23 '17 at 05:03
-
Use ```sudo``` before commad of downloading – Manoj Jadhav Nov 23 '17 at 05:04
-
try sudo su and then conda install jupyter – 4M01 Nov 23 '17 at 05:07
-
There are a hundred questions where the answer is "use sudo". – cwallenpoole Nov 23 '17 at 05:28
1 Answers
0
This is related to permission, hence you need to be sudoer or super user.
Try your command with sudo
prefix.
sudo <YOURCOMMAND>

Abdul Gaffar
- 340
- 3
- 5