Windows 10 / Anaconda 3.5 安装 Tensorflow 1.2
来源:互联网 发布:淘宝网 商城 编辑:程序博客网 时间:2024/06/05 11:11
今天在Windows 10 / Anaconda 3.5下面装了Tensorflow1.2。
其实安装主要就是参考官方文档
https://www.tensorflow.org/install/install_windows
我试了在python3.6下安装,结果失败了。
还是老老实实的按照官方说明去装吧。
其中,cudnn的安装方法是将cudnn下面的三个文件夹(bin,include, lib)复制到cuda 8.0文件夹。我的文件夹地址是
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
还有,这句命令执行的时候,是不需要翻墙的。我一开始看到url里面有google,想都没想就翻墙了。运行了半天,后来VPN掉了,发现不影响这句命令。ps:装个tensorflow,一会翻墙,一会断VPN,搞得我很憔悴。
(tensorflow)C:> pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.2.0-cp35-cp35m-win_amd64.whl
装完以后运行,出现以下错误:
ImportError: No module named '_pywrap_tensorflow_internal'ImportError: DLL load failed: The specified module could not be found.
Google了一圈,发现解决的办法是把cudnn64_6.dll改名为cudnn64_5.dll。网上是这样解释的
TensorFlow requires “cuDNN v5.1” but if you install cuDNN v6.0, then the file name of the cudnn dll file will be cudnn64_6.dll not cudnn64_5.dll.
再运行tensorflow,成功。
阅读全文
1 0
- Windows 10 / Anaconda 3.5 安装 Tensorflow 1.2
- Windows Anaconda Tensorflow 安装
- Windows 10 下 TensorFlow,Anaconda的安装
- Windows Tensorflow Anaconda安装配置
- windows 下 Anaconda 安装 TensorFlow
- windows 下 Anaconda 安装 TensorFlow
- TensorFlow(GPU) + Windows 10+Anaconda
- Ubuntu Windows双系统安装 anaconda tensorflow安装
- Windows下Anaconda中安装tensorflow
- windows上基于anaconda安装tensorflow
- Windows下通过Anaconda安装TensorFlow
- Windows下通过Anaconda安装tensorflow
- windows下配置安装Anaconda+tensorflow
- Windows 7下通过anaconda安装tensorflow
- Windows下Anaconda环境安装Tensorflow
- windows环境下Anaconda安装Tensorflow
- Windows 7下通过anaconda安装tensorflow
- Windows 7下通过anaconda安装tensorflow
- notepad++替换技巧_正则表达式
- 【转自Oracle官方技术博客】RAC之间消息传输流量控制
- Spring Data JPA repositories using JavaConfig
- MAT Memory Analyzer Tool 插件安装(图解)
- 递归函数(20160810).md
- Windows 10 / Anaconda 3.5 安装 Tensorflow 1.2
- GET 和 POST 有什么区别?及为什么网上多数答案都是错的
- Java常用设计模式
- 现在的一卡通系统不能再一味地想着多发卡了
- windows 下 netsh 实现 端口映射(端口转发)
- 高级特性(20160811).md
- dm3730平台oled显示时钟——ssd1306驱动
- 在数据库中生成随机id
- Java的接口