pygame初始化
来源:4-2 项目作业
砰砰砰guo
2020-03-30 22:47:20
请问我的pygame初始化为何不成功?
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,进入到如下页面进行修改:
如果解决了你的疑惑,请采纳,祝学习愉快~
砰砰砰guo
提问者
2020-03-30
上面时我没有在虚拟环境中安装pygame,但是安装了之后为什么还是没有pygame模块
相似问题