cx_freeze似乎没有进口或使用PIP安装
When I try to import CX_Freeze I get this error:
But I tried to compile a pygame script I made anyways and I got this error:
If you can help me that would be great.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试以下命令查看已安装的软件包:
如果您看不到
cx_freeze
在列表中显示的尝试通过此命令安装:try the below command to see you installed packages:
If you do not see
cx_Freeze
displayed in the list try to install by this command:如错误所述,您需要安装或更新Microsoft Visual C ++为14.0或更高。如果您不想,请尝试其他模块,例如py2exe
参见:
https://www.pygame.org/wiki/wiki/pygame/pygame2exe
As the error states, you need to install or update Microsoft Visual C++ to 14.0 or greater. If you don't want to, try other modules such as py2exe
See also:
https://www.pygame.org/wiki/Pygame2exe