环境介绍
因为Ubuntu版在服务器上按得,没图形界面,很不方便,所以windows也按了个,都是Anaconda 按得python3.6 虚的python3.5 tensorflow 环境(俩个系统代码存在差异,win的修改才能在linux上运行)
首先使用Anaconda进行python安装,可选3.6
tensorflow安装(windows)
conda create -n tf python=3.5
image.png
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
linux(ubuntu)
conda create -n tensorflow python=3.5
image.png
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
网友评论