因为已经之前安装过pygame模块了,但是在引入的时候无法识别,这时候可以看看project interpreteer的设置 File -> Settings->Project->Project Interpreter 相关文章: