我的tensorflow安装有问题。 我收到了一个mrry/tensorflow_self_check.py脚本并做了一些调整MurDoDePar / tensorflow_self_check.py
我得到了这个结果:
- Python version is 3.6.
- TensorFlow is installed at: C:\Users\domin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow
*** Failed to import the TensorFlow module.
- Find msvcp140.dll
- Find cudart64_91.dll
- Find nvcuda.dll
- Find cuDNN 7 cudnn64_7.dll.
*** ERROR Liste
- Failed to import the TensorFlow module.
如果我下订单pip3 install --ignore-installed --upgrade tensorflow
我有错误:
C:\Users\domin>pip3 install --ignore-installed --upgrade tensorflow-gpu
Collecting tensorflow-gpu
Using cached tensorflow_gpu-1.5.0-cp36-cp36m-win_amd64.whl
Collecting tensorflow-tensorboard<1.6.0,>=1.5.0 (from tensorflow-gpu)
Using cached tensorflow_tensorboard-1.5.0-py3-none-any.whl
...OK
Using cached setuptools-38.4.0-py2.py3-none-any.whl
Installing collected packages: six, html5lib, numpy, markdown, wheel, werkzeug, setuptools, protobuf, bleach, futures, tensorflow-tensorboard, absl-py, tensorflow-gpu
Exception:
Traceback (most recent call last):
File "c:\users\domin\appdata\local\programs\python\python36\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\users\domin\appdata\local\programs\python\python36\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\users\domin\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\users\domin\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "c:\users\domin\appdata\local\programs\python\python36\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "c:\users\domin\appdata\local\programs\python\python36\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "c:\users\domin\appdata\local\programs\python\python36\lib\site-packages\pip\wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "c:\users\domin\appdata\local\programs\python\python36\lib\shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'c:\\users\\domin\\appdata\\local\\programs\\python\\python36\\Lib\\site-packages\\numpy\\.libs\\libopenblas.BNVRK7633HSX7YVO2TADGR4A5KEKXJAW.gfortran-win_amd64.dll'
我被困住你能帮助我吗?
答案 0 :(得分:0)
您似乎无权安装它。
您可以尝试使用python可执行文件运行它,如pip install access denied on Windows
中所述或者您可以尝试以管理员身份运行CMD,然后再次尝试安装。