若是直接在命令提示符内输入pip install numpy时安装速度太慢,而且在安装到一半的时候就突然跳出来错误信息,时间错误和路径错误。路径错误我是一脸懵,用pip安装的包都是默认好的路径啊,我看了其他博客写的说了很多让我在windows的numpy官网上查找并下载numpy,结果我下完放到script路径下还是不行,最后用阿里云的镜像再下载:命令提示符输入pip install numpy -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com,速度嗖嗖的,很流畅的一分钟内下完了,我再放几个国内镜像:
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
显示successfully就可以了。