|

楼主 |
发表于 2017-10-11 21:33:15
|
显示全部楼层
我尝试更新一下我的numpy库:
C:\WINDOWS\system32>pip install --upgrade numpy
Collecting numpy
Using cached numpy-1.13.3-2-cp27-none-win32.whl
Installing collected packages: numpy
Found existing installation: numpy 1.7.1
DEPRECATION: Uninstalling a distutils installed project (numpy) has been dep
recated and will be removed in a future version. This is due to the fact that un
installing a distutils project will only partially uninstall the project.
Uninstalling numpy-1.7.1:
Successfully uninstalled numpy-1.7.1
Rolling back uninstall of numpy
Exception:
Traceback (most recent call last):
File "c:\python27\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\python27\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\python27\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\python27\lib\site-packages\pip\req\req_install.py", line 851, in inst
all
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "c:\python27\lib\site-packages\pip\req\req_install.py", line 1064, in mov
e_wheel_files
isolated=self.isolated,
File "c:\python27\lib\site-packages\pip\wheel.py", line 345, in move_wheel_fil
es
clobber(source, lib_dir, True)
File "c:\python27\lib\site-packages\pip\wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "c:\python27\lib\shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: 'c:\\python27\\Lib\\site-packages\\numpy\
\core\\multiarray.pyd'
好像又出错了。。。
求解。 |
|