1. source activate tensorfow("tensorflow是环境名称")
2. 在环境下,镜像安装tensorflow :
pip install tensorflow==1.15.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
3. 检查tensorflow对应的keras版本
https://docs.floydhub.com/guides/environments/
4.pip install keras==2.3.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
镜像源可以换成 https://pypi.douban.com/simple or https://mirrors.aliyun.com/pypi/simple