python如何使用ppip安装xlwt_python3.5 安装 xlrd xlwt 包都不成功 求解决 报错如下

[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'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值