更换镜像源:
第一步:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
第二步:
conda config --set show_channel_urls yes
1、进入keras环境
activate keras
2、退出keras环境
deactivate
3.创建名字为python35、python版本为3.5的环境
conda create --name python35 python=3.5
或
conda create -n python35 python=3.5
4.安装tensorflow
pip install --upgrade tensorflow
5.安装cv2库
conda install -c https://conda.binstar.org/menpo opencv
6.安装pygame
pip install pygame
7、查看 自己创建环境的信息
conda info --env