Jan-17-2019, 05:56 PM
HI
I am trying to install flake8 on virtualenv but i was unable to do so due to following error
Exception:
I am trying to install flake8 on virtualenv but i was unable to do so due to following error
Exception:
Error:Traceback (most recent call last):
File "/home/sai/calculator/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/sai/calculator/lib/python3.6/site-packages/pip/commands/install.py", line 360, in run
prefix=options.prefix_path,
File "/home/sai/calculator/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/sai/calculator/lib/python3.6/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/sai/calculator/lib/python3.6/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/sai/calculator/lib/python3.6/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/sai/calculator/lib/python3.6/site-packages/pip/wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib/python3.6/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/sai/calculator/lib/python3.6/site-packages/__pycache__/mccabe.cpython-36.pyc'
I need to know what are Probable solutions for the problem.Please let me know