这里写自定义目录标题
tensorflow 安装
pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple
1 选择一个python版本安装(这里选择python3.5.2版本):
创建环境
conda create --name tensorflow python=3.5.2
然后进入环境
activate tensorflow
2.首先更新pip,在cmd内敲下面代码更新pip
python -m pip install --upgrade pip
3.没问题以后,一键安装Tensorflow1.11.0
pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple
后面的-i是国内的一个下载源,用于下载提速。
Python 3.5 CPU-only https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-2.0.0-cp35-cp35m-win_amd64.whl
keras 安装
conda install -c conda-forge keras=1.0.7