关于tensorflow安装时遇到的问题
来源:互联网 发布:淘宝店铺模板市场 编辑:程序博客网 时间:2024/05/17 04:16
在安装tensorflow之前请阅读官方tensorflow中文社区下载及安装文档:http://www.tensorfly.cn/tfdoc/get_started/os_setup.html#common_install_problems
安装时我跟随tensorflow社区的安装教程:
# 仅使用 CPU 的版本$ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl# 开启 GPU 支持的版本 (安装该版本的前提是已经安装了 CUDA sdk)$ pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
出现了不支持此平台问题:tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
通过网上寻找问题答案,终于知道tensorflow只能支持64位的操作系统,而我的系统为ubuntu12.04 32位的。
因此立马在虚拟机中更换系统为64位ubuntu16.04,然后继续重新输入如下命令:(我这里就安装了CPU版本)
# 仅使用 CPU 的版本$ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl# 开启 GPU 支持的版本 (安装该版本的前提是已经安装了 CUDA sdk)$ pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
但是依旧出现了如下:
connectError:错误!
看到红色字明白了连接不成功,由于本机无法连接外网,无法google,所以只能是进行源码安装,或者用迅雷下载。
源码安装在社区下载及安装中可以找到,方法如下。
$ git clone https://github.com/bazelbuild/bazel.git$ cd bazel$ git checkout tags/0.1.0$ ./compile.sh
但是我是利用迅雷进行下载的,下载完后再次pip install /你安装的文件目录
如此就都顺利安装成功了,接下来就继续跟随官方文档学习吧。
阅读全文
0 0
- 关于tensorflow安装时遇到的问题
- tensorflow安装时遇到的问题
- 安装tensorflow遇到的问题
- 安装Tensorflow遇到的问题
- TensorFlow安装所遇到的问题
- Ubuntu pip安装tensorflow遇到的问题
- 安装tensorflow过程遇到的问题
- 安装tensorflow过程遇到的问题
- TensorFlow-入门-00-安装遇到的问题
- Ubuntu下Tensorflow安装遇到的问题
- Tensorflow安装 & 遇到的问题及解决方案
- Ubuntu16.04安装tensorflow遇到的问题
- ubuntu14 上安装tensorflow 遇到的问题
- Mac TensorFlow安装中遇到的问题
- tensorflow 安装中遇到的问题
- tensorflow 遇到的问题
- Ubuntu下安装tensorFlow遇到的问题和解决方案
- Ubuntu14.04下安装Tensorflow遇到的问题
- python出现中文错误:SyntaxError: Non-ASCII character '\xe7' in file car-training.py on line 7, but no encod
- 行内元素padding-left用百分比
- Tensorflow Lite初探(Android)
- 20171217
- git:如何生成git ssh key(windows下)
- 关于tensorflow安装时遇到的问题
- Redis主从复制和集群配置
- [总结]FFMPEG视音频编解码零基础学习方法
- Data truncation: Incorrect datetime value: '' for column 'xxxx' at row
- VS2013+QT5.6 error LNK2019
- eclipse的js插件
- SpringMVC整合swagger2
- spring+websocket整合
- Unity 接入 Android SDK APK 图标 icon和 APK ProductName设置