文章目录
- [一、配置 numpy 模块](#一、配置 numpy 模块)
- [二、配置 matplotlib 的模块](#二、配置 matplotlib 的模块)
一、配置 numpy 模块
点击设置
![](https://i-blog.csdnimg.cn/direct/74d474f4697f4f64be1034d282deee22.png)
在项目:xxxx 的 Python 解释器中,点击 + 号
![](https://i-blog.csdnimg.cn/direct/d209242a43bf44ed9c1d61f3c8c9e146.png)
输入 numpy ,选择第一个,点击安装软件包
![](https://i-blog.csdnimg.cn/direct/6476f378a0b1472287db9163d9699a28.png)
安装成功后关闭该界面
![](https://i-blog.csdnimg.cn/direct/1bff65c3cc394b9aa0e57093e491815e.png)
此时发现项目软件包中多了 numpy,点击确定即可。
![](https://i-blog.csdnimg.cn/direct/6bd335a63b9e46fca16e5bf959bfdc68.png)
二、配置 matplotlib 的模块
同上,只是搜索 matplotlib 即可
![](https://i-blog.csdnimg.cn/direct/a6331fa3b1a646749eb733215e8bd067.png)
点击设置
在项目:xxxx 的 Python 解释器中,点击 + 号
输入 numpy ,选择第一个,点击安装软件包
安装成功后关闭该界面
此时发现项目软件包中多了 numpy,点击确定即可。
同上,只是搜索 matplotlib 即可