1.安装matplotlib的时候出现如下错误:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
更新了pip和setuptools
python -m pip install --upgrade pip
pip install --upgrade setuptools
依旧不能解决。问题在于pip在网站找不到相应的版本,我把matplotlib==2.1.0改成2.2.5就可以了。
下面记录一个python包汇总网站。
https://www.lfd.uci.edu/~gohlke/pythonlibs/
2.安装Tensorflow时报错如下:
ReadTimeoutError: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out.
超时。修改超时阈值。
pip install --default-timeout=100 future