我买了一台新电脑,并在尝试运行此代码时尝试安装 pygame
import pygame
pygame.init()
screen = pygame.display.set_mode((1176,674),0,32)
我收到这个错误
Traceback (most recent call last):
File "/Users/nathaneuteneier/Documents/how", line 1, in <module>
import pygame
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper