环境:CPU i5,内存4G,操作系统Win7
1、下载anaconda3
注意:通过官网下载,速度太慢,总是下载停掉,后来发现国内清华的一个地址
https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
下载了Anaconda3-5.3.1-Windows-x86_64.exe
2、安装anaconda3,按提示操作即可
3、运行anaconda prompt
4、添加清华镜像库
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
conda config --show-sources可以查看添加是否成功
5、创建keras、TensorFlow环境,python版本用3.7
conda create -n keras_tf python=3.7
直接回车即可,创建的环境都安装在anaconda目录下的envs目录,新建了keras_tf
打开anaconda navigator,点击Environments,可以查看到新增的环境
6、切换到新建的keras_tf环境
activate keras_t