Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Pygame.error: Failed loading libvorbisfile-3.dll:The specified module could not be found. #4

Open
WorkInProgressNow opened this issue Aug 3, 2021 · 4 comments

Comments

@WorkInProgressNow
Copy link

After I used the method from the persons on github to fix a bug,I run the code again.But I found that it also can not work!The python shell tell me just like title: pygame.error: Failed loading libvorbisfile-3.dll:The specified module could not be found.Before the pygame.error,the python shell tell me the error is from the

File "C:\Minecraft-Pygame-main\game\sound\Sound.py", line 33, in initMusic      
    self.musicPlayer.load(self.MENU_MUSIC[musicNum])
File "C:\Minecraft-Pygame-main\main.py", line 398, in <module>
    sound.initMusic(False)

I search a lot about this from the internet,but I found that they are all not useful.I really
did not know how to fix it!
Can you help me?

@Artingl
Copy link
Owner

Artingl commented Aug 3, 2021

What's the python version do you use? And is the version of libraries the same as in requirements.txt? Also what os are you using?

@WorkInProgressNow
Copy link
Author

I use python3.8.8 ;The numpy is 1.20.0,the pyglet is 1.5.13,the others are the same:My os is 10.0.18363.1379.

@Artingl
Copy link
Owner

Artingl commented Aug 10, 2021

You have to use the same version of libraries as in file the requirements.txt

@WorkInProgressNow
Copy link
Author

I use the same version s now.But the error is also here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants