Windows系统下 Python3.8.2安装 numpy、pandas、matplotlib库

时间:2024-03-26 21:51:17

本人安装Python自动化办公库时,需要numpy、pandas、matplotlib库,但是cmd窗口下输入pip install 命令时安装工具包总是报错无法通过,具体错误如下。

Windows系统下 Python3.8.2安装 numpy、pandas、matplotlib库

Windows系统下 Python3.8.2安装 numpy、pandas、matplotlib库

解决方法:在官网上下载安装包到电脑上,在使用下载好的库文件进行安装。

python库的官网:https://www.lfd.uci.edu/~gohlke/pythonlibs/

Windows系统下 Python3.8.2安装 numpy、pandas、matplotlib库

Windows系统下 Python3.8.2安装 numpy、pandas、matplotlib库

以上为本人针对python3.8.2使用的库文件。

在对应目的下输入命令,参考如下。

Windows系统下 Python3.8.2安装 numpy、pandas、matplotlib库

Windows系统下 Python3.8.2安装 numpy、pandas、matplotlib库

successfully installed!!!!!

最后安装成功pandas、numpy、matplotlib三个常用库!!

.py文件正常运行,撒花!!