win7, gtx750ti 2g tensorflow 安装GPU版本,个人总结,步骤比较详细

安装环境:win7, gtx750ti 2g
参考:
https://blog.csdn.net/gangeqian2/article/details/79358543
http://blog.sina.com.cn/s/blog_14935c5880102wu86.html
https://tensorflow.google.cn/install/install_windows#installing_with_anaconda
1、CUDA与cuDNN 要搭配,并配置好%PATH% 环境变量。
如果您要使用本指南描述的其中一种方式安装支持 GPU 的 TensorFlow,就必须在系统上安装以下 NVIDIA 软件:

CUDA® 工具包 9.0。如需了解详情,请参阅 NVIDIA 的文档。请务必按照 NVIDIA 文档中的说明将相关的 CUDA 路径名附加到 %PATH% 环境变量上。
与 CUDA 工具包 9.0 相关联的 NVIDIA 驱动程序。
cuDNN v7.0。如需了解详情,请参阅 NVIDIA 文档。请注意,cuDNN 通常安装在与其他 CUDA DLL 不同的位置。请务必将 cuDNN DLL 的安装目录添加到 %PATH% 环境变量上。

DLL load failed with error code -1073741795
ImportError: No module named '_pywrap_tensorflow_internal’
https://stackoverflow.com/questions/51912155/tensorflow-importerror-dll-load-failed-with-error-code-1073741795
https://github.com/tintinmovie/Guides_and_Solutions/blob/master/Tensorflow - No module named ‘_pywrap_tensorflow_internal’.md
https://blog.csdn.net/shen123me/article/details/80621103
1、打开cmd命令窗口,先 pip uninstall tensorflow

2、接着 pip install Tensorflow==1.5
只能用1.5版本,1.6都不行,亲试了几个版本,哭死。

tensorflow-gpu 1.11.0 has requirement setuptools<=39.1.0
https://stackoverflow.com/questions/52344479/how-do-i-correct-a-setuptools-version-error-with-tensorflow-gpu-when-i-run-pip
python -m pip install --upgrade setuptools==39.1.0

Tensorflow安装问题: Could not find a version that satisfies the requirement tensorflow
可能是python版本太新,试一下换旧的版本。3.7不行,换3.6就可以了。

发布了209 篇原创文章 · 获赞 18 · 访问量 39万+

猜你喜欢

转载自blog.csdn.net/llrraa2010/article/details/83593079