如何在settings的python interpreter中添加numpy库
在settings的python interpreter中添加numpy库的步骤如下:
- 打开PyCharm,点击菜单栏中的“File” -> “Settings”。
- 在弹出的窗口中,选择“Project: [项目名称]” -> “Project Interpreter”。
- 在右侧的窗口中,点击“+”按钮添加新的库。
- 在弹出的窗口中,搜索“numpy”,选择需要安装的版本,点击“Install Package”按钮进行安装。
- 点击“OK”按钮保存设置。
安装完成后,就可以在代码中导入numpy库并使用了。
原文地址: https://www.cveoy.top/t/topic/bxMT 著作权归作者所有。请勿转载和采集!