尝试安装tensorflow-gpu 1.8版。
已经安装了NVIDIA,CUDA和cudnn。 我正在使用Windows 10和python 3。 创建了一个环境。
尝试时:
pip install tensorflow-gpu==1.8
我得到:
收集tensorflow-gpu == 1.8使用缓存 https://files.pythonhosted.org/packages/42/a8/4c96a2b4f88f5d6dfd70313ebf38de1fe4d49ba9bf2ef34dc12dd198ab9a/tensorflow_gpu-1.8.0-cp36-cp36m-win_amd64.whl 已经满足要求:gast> = 0.2.0 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (0.2.0)已满足要求:protobuf> = 3.4.0 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (3.5.2)已满足要求:wheel> = 0.26 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (0.32.1)已满足要求:termcolor> = 1.1.0 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (1.1.0)已满足要求:absl-py> = 0.1.6 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (0.5.0)已满足要求:astor> = 0.6.0 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (0.7.1)收集张量板<1.9.0,> = 1.8.0(来自 tensorflow-gpu == 1.8)使用缓存 https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl 已经满足的要求:grpcio> = 1.8.6 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (1.12.1)已满足要求:6> = 1.10.0 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (1.11.0)已满足要求:numpy> = 1.13.3 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自tensorflow-gpu == 1.8) (1.15.2)已满足要求:中的setuptools c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自 protobuf> = 3.4.0-> tensorflow-gpu == 1.8)(39.1.0)已有要求 满意:html5lib == 0.9999999 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自 tensorboard <1.9.0,> = 1.8.0-> tensorflow-gpu == 1.8)(0.9999999) 已经满足要求:werkzeug> = 0.11.10 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自 tensorboard <1.9.0,> = 1.8.0-> tensorflow-gpu == 1.8)(0.14.1)要求 已经满足:markdown> = 2.6.8 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自 tensorboard <1.9.0,> = 1.8.0-> tensorflow-gpu == 1.8)(2.6.8)要求 已经满足:bleach == 1.5.0 in c:\ users \ sarit \ anaconda3 \ lib \ site-packages(来自 tensorboard <1.9.0,> = 1.8.0-> tensorflow-gpu == 1.8)(1.5.0) 由于环境错误而无法安装软件包:[Errno 2]没有这样的文件或目录: 'c:\ users \ sarit \ anaconda3 \ lib \ site-packages \ tensorflow-1.11.0.dist-info \ METADATA'
找不到解决方案。很高兴获得帮助