ERROR: Cannot install keras2.2.0 and tensorflow1.14.0 because these package versions have conflicting dependencies.
执行操作
pip install -i https://pypi.douban.com/simple tensorflow==1.14 keras==2.2
报错信息
ERROR: Cannot install keras==2.2.0 and tensorflow==1.14.0 because these package versions have conflicting dependencies.
The conflict is caused by:
keras 2.2.0 depends on keras-preprocessing==1.0.1
tensorflow 1.14.0 depends on keras-preprocessing>=1.0.5
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
解决思路
环境依赖出问题,更换下载包版本
解决方法
pip install -i https://pypi.douban.com/simple tensorflow==1.14 keras==2.1
keras 2.1
欢迎大家交流学习,任何问题都可以留言