本文主要是介绍pip 安装tensorflow.whl包出错 PermissionError: [Errno 13] Permission denied:,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
pip install D:\tensorflow-1.5.0-cp35-cp35m-win_amd64.whl
错误信息
Exception:
Traceback (most recent call last):
File "d:\python3.5\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "d:\python3.5\lib\site-packages\pip\commands\install.py", line 342, in ru
n
prefix=options.prefix_path,
File "d:\python3.5\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "d:\python3.5\lib\site-packages\pip\req\req_install.py", line 851, in ins
tall
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "d:\python3.5\lib\site-packages\pip\req\req_install.py", line 1064, in mo
ve_wheel_files
isolated=self.isolated,
File "d:\python3.5\lib\site-packages\pip\wheel.py", line 345, in move_wheel_fi
les
clobber(source, lib_dir, True)
File "d:\python3.5\lib\site-packages\pip\wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "d:\python3.5\lib\shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'd:\\python3.5\\Lib\\site-package
s\\numpy\\.libs\\libopenblas.IPBC74C7KURV7CB2PKT5Z5FNR3SIBV4J.gfortran-win_amd64
.dll'
错误原因:安装python相应包的时候需要关闭python运行的进程,比如pycharm等。
关闭后重新安装即可成功。
这篇关于pip 安装tensorflow.whl包出错 PermissionError: [Errno 13] Permission denied:的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!