python 库安装

基于python Anaconda

Python 3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32

库集市

https://www.lfd.uci.edu/~gohlke/pythonlibs/

1、pip升级
当有提示:

[notice] A new release of pip available: 22.1.2 -> 22.2.2
[notice] To update, run: python.exe -m pip install --upgrade pip

则执行pip升级命令

python.exe -m pip install --upgrade pip

2、安装numpy

浏览器方式下载:

https://download.lfd.uci.edu/pythonlibs/archived/numpy-1.22.4+mkl-cp38-cp38-win_amd64.whl

之后将numpy-1.22.4+mkl-cp38-cp38-win_amd64.whl 拷贝到python目录下。

pip install numpy-1.22.4+mkl-cp38-cp38-win_amd64.whl

#重新安装
pip install --force-reinstall   numpy-1.22.4+mkl-cp38-cp38-win_amd64.whl

3、安装pandas

pip install pandas

你可能感兴趣的:(编程,python,pandas,开发语言)