python3.6下载失败_python3.6安装SIP问题

win7,python3.6环境。python小白想装pyQT5,需要先装SIP,

看到riverbank上说可以直接用 pip3install

https://www.riverbankcomputing.com/software/sip/download

Wheels are provided for Python v3.5 and later for 64-bit Linux, OS X and 32-bit and 64-bit Windows. These include the sip extension module but not the code generator.

So long as you are using a supported version of Python you can install SIP from PyPi by running:

pip3 install SIP

结果出了下面错误,不知道pyd是个什么文件,并且目录分隔为什么是\\而不是\

C:\Program Files\Python36\Lib\site-packages\pip>pip3 install SIP

Collecting SIP

Using cached sip-4.19.1-cp36-none-win_amd64.whl

Installing collected packages: SIP

Exception:

Traceback (most recent call last):

File "c:\program files\python36\lib\site-packages\pip\basecommand.py", line 21

5, in main

status = self.run(options, args)

File "c:\program files\python36\lib\site-packages\pip\commands\install.py", li

ne 342, in run

prefix=options.prefix_path,

File "c:\program files\python36\lib\site-packages\pip\req\req_set.py", line 78

4, in install

**kwargs

File "c:\program files\python36\lib\site-packages\pip\req\req_install.py", lin

e 851, in install

self.move_wheel_files(self.source_dir, root=root, prefix=prefix)

File "c:\program files\python36\lib\site-packages\pip\req\req_install.py", lin

e 1064, in move_wheel_files

isolated=self.isolated,

File "c:\program files\python36\lib\site-packages\pip\wheel.py", line 345, in

move_wheel_files

clobber(source, lib_dir, True)

File "c:\program files\python36\lib\site-packages\pip\wheel.py", line 323, in

clobber

shutil.copyfile(srcfile, destfile)

File "c:\program files\python36\lib\shutil.py", line 115, in copyfile

with open(dst, 'wb') as fdst:

PermissionError: [Errno 13] Permission denied: 'c:\\program files\\python36\\Lib

\\site-packages\\sip.pyd'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值