[email protected]:~$ pip3 install xlwt
Collecting xlwt
Downloading xlwt-1.3.0-py2.py3-none-any.whl (99kB)
100% |████████████████████████████████| 102kB 22kB/s
Installing collected packages: xlwt
Exception:
Traceback (most recent call last):
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/basecommand.py", l ine 215, in main
status = self.run(options, args)
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/commands/install.p y", line 342, in run
prefix=options.prefix_path,
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/req/req_set.py", l ine 784, in install
**kwargs
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/req/req_install.py ", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/req/req_install.py ", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/wheel.py", line 34 5, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/wheel.py", line 31 6, in clobber
ensure_dir(destdir)
File "/home/liusanye/.local/lib/python3.5/site-packages/pip/utils/init.py" , line 83, in ensure_dir
os.makedirs(path)
File "/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-pa ckages/xlwt'