之前遇到一个问题,先放上问题截图
pandas模块是安装在site-packages目录下的一个文件,但是引用时可以看到有红色的波浪线提示没有该模块,我们可以这样试试将project structure添加site-packages目录,步骤:
(1)选择File—>settings—>project:pythonWork—>project structure
(2)选择右边add content root
(3)选择文件夹(project interpreter的位置下site-packages文件夹)
(4)然后选择mark as: sources
(5)apply
然后点击ok
- 模块 pandas Pycharm module named模块pandas pycharm module modulenotfounderror module pandas named sheet_name模块pandas python modulenotfounderror module named 39 pytorch module named 39 module_name modulenotfounderror watchdog module named module_name module binary binary_host_mirror modulenotfounderror module kornia named importerror python module named