机器学习遇到的坑(持续更新)

1.python安装第三方库,超时报错 Read timed out

安装pandas时,持续报错Read timed out,查阅资料大概率是由于GFW,可以更换国内镜像源或者设置超时时间(具体原理我也不清楚,但是可以解决问题)。

解决方法:

1.设置超时时间:
pip --default-timeout=100 install -U pandas
2.更换安装源:
pip install pandas -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

猜你喜欢

转载自blog.csdn.net/reigns_/article/details/80985330