
[英]Error loading psycopg2 module: DLL load failed while importing _psycopg: The specified module could not be found
[英]Can't load audio on pygame - Pygame error when loading audio: Failed loading libvorbisfile-3.dll: The specified module could not be found
几个月来,我一直在使用pygame 2.0.1
。 今天,在我升级到最新版本(2.1.2)后,尝试加载音频文件时开始出现此错误:
'pygame.error: Failed loading libvorbisfile-3.dll: The specified module could not be found'.
到目前为止我尝试过的事情:
/site-packages/pygame
(它已经存在)。我正在使用 Windows 10、Python 3.9.10 并通过 PyCharm 运行 virtualenv。
I solved the issue by uninstalling Python, installing the latest version (3.10.2), creating a new virtual environment, upgrading pip
to the latest version (21.2.4) and then installing pygame
via pip
.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.