运行pygame库,报错 ImportError: DLL load failed while importing base: 找不到...
C:\Users\用户名>pythonPython 3.9.0a4 (tags/v3.9.0a4:6e02691, Feb 25 2020, 23:23:54) on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python39\lib\site-packages\pygame\__init__.py", line 81, in <module>
from pygame.base import * # pylint: disable=wildcard-import; lgtm
ImportError: DLL load failed while importing base: 找不到指定的程序。
>>> 感觉像是缺少了文件,可以尝试重新安装下这个库。 解决了,我重新安装了python最新版然后正常安装pygame就好了 SailZhao520 发表于 2021-3-27 10:32
感觉像是缺少了文件,可以尝试重新安装下这个库。
感谢回复,重装了一下python最新版,已经解决了
页:
[1]