0
点赞
收藏
分享

微信扫一扫

MAC下没有64位Pygame可调用!

进击的铁雾 2023-07-03 阅读 49

基础代码

import pygame

pygame.init()

font = pygame.font.Font('ArialHB.ttc', 40, True, True)

screen=pygame.display.set_mode((800,600))

while True:
    font.render("WINNER!!! Click to Continue", True, WHITE)
    pass

pygame.quit()

出现错误:

MAC下没有64位Pygame可调用!_Python

经过大量论证,结论如标题所示。总体结论是:Pygame这个框架过时了。如果实在要使用,而且在MAC OS环境下的话,可以勉强使用64位Python调用32位Pygame,但是没有64位Pygame可调用!

引用

https://blog.csdn.net/NNNJ9355/article/details/106202244/

https://www.cnpython.com/qa/135806

https://blog.csdn.net/weixin_39612220/article/details/111735335

https://blog.csdn.net/fervid_/article/details/105266941

举报

相关推荐

0 条评论