Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/279.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何解决导入错误DLL加载失败错误?_Python_Python 3.x_Error Handling - Fatal编程技术网

Python 如何解决导入错误DLL加载失败错误?

Python 如何解决导入错误DLL加载失败错误?,python,python-3.x,error-handling,Python,Python 3.x,Error Handling,我在导入pygame模块时遇到一个奇怪的错误 错误如下所示: from pygame.base import * # pylint: disable=wildcard-import; lgtm[py/polluting-import] Import error: DLL load failed while importing base: The specified procedure could not be found 其他信息: python版本:3.9和pygame版本=2.0

我在导入pygame模块时遇到一个奇怪的错误

错误如下所示:

from pygame.base import * # pylint: disable=wildcard-import; lgtm[py/polluting-import]
Import error: DLL load failed while importing base: The specified procedure could not be found 
其他信息:

python版本:3.9和pygame版本=2.0