python安装numpy等库

运行.py程序时,报错,诸如ModuleNotFoundError: No module named 'numpy',原因是缺少相应的安装包,安装过程如下:

1、File->Setteings->Project Python->Python Interpreter,点击+号

 

2、点击+号后,在搜索框输入numpy,选中安装包,点击Install Package,等待安装完成即可。

3、其他如pandas、sqlalchemy、PIL(选择安装包Pillow)、win32com(选择安装包win32compat、pypiwin32)

posted @ 2022-04-19 14:45  赵Gary  阅读(523)  评论(0)    收藏  举报