因为python库官方在国外,可能由于网络问题导致超时,建议使用国内的镜像源:
阿里云镜像:https://mirrors.aliyun.com/pypi/simple/
清华大学镜像:https://pypi.tuna.tsinghua.edu.cn/simple/
豆瓣镜像:https://pypi.doubanio.com/simple/
中科大镜像:https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/
使用方法案例:
pip install -i https://mirrors.aliyun.com/pypi/simple/ pandas