Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If you are getting this Python error (excerpt) with discord.py:
- raise OpusNotLoaded()
- discord.opus.OpusNotLoaded
- Solve it by adding this in your script:
- import ctypes
- import ctypes.util
- print("ctypes - Find opus:")
- a = ctypes.util.find_library('opus')
- print(a)
- print("Discord - Load Opus:")
- b = discord.opus.load_opus(a)
- print(b)
- print("Discord - Is loaded:")
- c = discord.opus.is_loaded()
- print(c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement