版本对应
给出一种方案:
python == 3.7.15
tensorflow == 2.2.0
keras == 2.3.0
numpy == 1…16.4
matplotlib == 2.2.4
安装过程中的一些报错
解决:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==2.2.3
即另外设置源
matplotlib安装时报错——ImportError: cannot import name ‘dedent’ from ‘matplotlib.cbook’
matplotlib版本降至2.2.4即可