tensorflow安装

作者: 699b979fc4da | 来源:发表于2018-01-12 14:16 被阅读0次

环境介绍

因为Ubuntu版在服务器上按得,没图形界面,很不方便,所以windows也按了个,都是Anaconda 按得python3.6 虚的python3.5 tensorflow 环境(俩个系统代码存在差异,win的修改才能在linux上运行)
首先使用Anaconda进行python安装,可选3.6

tensorflow安装(windows)

conda create -n tf python=3.5
activate tf
pip install --ignore-installed --upgrade https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/tensorflow-1.1.0-cp35-cp35m-win_amd64.whl
pip install matplotlib

image.png

linux(ubuntu)

conda create -n tensorflow python=3.5
source activate tensorflow
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl

image.png

相关文章

网友评论

    本文标题:tensorflow安装

    本文链接:https://www.haomeiwen.com/subject/yhlfoxtx.html