在Windows平台本地安装Pandas
如果你的电脑不能连接外网,那么就下载对应的包,自行安装吧~
你需要提前安装下列的依赖:
- pytz
- numpy
- python-dateutil
- six
我准备的包如下:
numpy-1.19.4-cp38-cp38-win_amd64.whl
pandas-1.2.0-cp38-cp38-win_amd64.whl
python_dateutil-2.8.1-py2.py3-none-any.whl
pytz-2020.5-py2.py3-none-any.whl
six-1.15.0-py2.py3-none-any.whl
以下是最后安装pandas过程的输出:
C:\Users\Horleun>pip install e:\BaaS\Tools\pandas-1.2.0-cp38-cp38-win_amd64.whl
Processing e:\baas\tools\pandas-1.2.0-cp38-cp38-win_amd64.whl
Requirement already satisfied: pytz>=2017.3 in c:\program files\python38\lib\site-packages (from pandas==1.2.0) (2020.5)
Requirement already satisfied: numpy>=1.16.5 in c:\program files\python38\lib\site-packages (from pandas==1.2.0) (1.19.4)
Requirement already satisfied: python-dateutil>=2.7.3 in c:\program files\python38\lib\site-packages (from pandas==1.2.0) (2.8.1)
Requirement already satisfied: six>=1.5 in c:\program files\python38\lib\site-packages (from python-dateutil>=2.7.3->pandas==1.2.0) (1.15.0)
Installing collected packages: pandas
Successfully installed pandas-1.2.0