pygame初始化

来源:4-2 项目作业

砰砰砰guo

2020-03-30 22:47:20

请问我的pygame初始化为何不成功?http://img.mukewang.com/climg/5e82066e091da05805700209.jpg

Cannot find reference 'init' in '__init__.py' less... (Ctrl+F1) 

Inspection info: This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.


写回答

2回答

好帮手慕笑蓉

2020-03-31

同学,你好。建议同学重新创建一个以英文命名的虚拟环境,重新打开项目,然后选择安装了pygame的虚拟环境运行此项目,步骤:点击File-->Settings,进入到如下页面进行修改:

http://img.mukewang.com/climg/5e82ac8209702b2011880358.jpg

如果解决了你的疑惑,请采纳,祝学习愉快~


0

砰砰砰guo

提问者

2020-03-30

http://img.mukewang.com/climg/5e8210310982de9121601440.jpg上面时我没有在虚拟环境中安装pygame,但是安装了之后为什么还是没有pygame模块

0

0 学习 · 8160 问题

查看课程