Mac导入pygame时报错dlopen...如何解决?
import pygameTraceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pygame
File "/Users/harla/Documents/pygame/__init__.py", line 120, in <module>
from pygame.base import *
ImportError: dlopen(/Users/harla/Documents/pygame/base.so, 2): Library not loaded: @loader_path/.dylibs/libSDL-1.2.0.dylib
Referenced from: /Users/harla/Documents/pygame/base.so
Reason: image not found
这要怎么解决啊,难道pygame要全部放弃了吗。。 https://blog.csdn.net/hezhefly/article/details/90669437 胡鸣谦 发表于 2020-10-5 08:58
https://blog.csdn.net/hezhefly/article/details/90669437
还是一样报错。。 安东诺夫 发表于 2020-10-6 08:03
还是一样报错。。
额
页:
[1]