MAC下没有64位Pygame可调用!

阅读 49

2023-07-03

基础代码

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)

0 0 举报