1、由于国外网站太慢,所以这里使用的是阿里的镜像
https://mirrors.aliyun.com/pypi/simple/
2、去官网查看,官方给出的安装方法如下:【pip安装和apt的方式两种】
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
3、由于我使用的是windows并且安装了pip,所以这里使用pip进行安装
python -m pip install -i https://mirrors.aliyun.com/pypi/simple/ --user numpy scipy matplotlib ipython jupyter pandas sympy nose
4、稍等片刻。。。。。。完成!
本文介绍了一种解决国外网站下载速度慢的方法,通过使用阿里云的PyPI镜像来加速Python库的安装过程。文中提供了两种安装方式,一种是使用pip直接从阿里云镜像安装,另一种是通过apt-get在Linux环境下安装。特别针对Windows环境下使用pip安装的步骤进行了详细说明。
7039

被折叠的 条评论
为什么被折叠?



