其实这个问题我经常见到,大多数模块在pypl上维护,下载比较慢,有时还会超时,我这里的解决办法是使用代理:
具体的使用方法: pip install 模块名 --proxy=http://127.0.0.1:端口
其中的端口就是本机代理的端口。
希望会有所帮助
补充:
可以加一个国内的镜像源 ,https://pypi.tuna.tsinghua.edu.cn/simple
pip install 模块名 -i https://pypi.tuna.tsinghua.edu.cn/simple