简体   繁体   中英

How can I install opus for Windows?

Discord.py uses opus, but I didn't find how to install it.How can I do it? This method doesn't work https://github.com/discordrb/discordrb/wiki/Installing-libopus (or I am stupid)

Opus should be installed but not been loaded. For this just put in your script:

 if not discord.opus.is_loaded(): discord.opus.load_opus(opuspath)

discord.opus.is_loaded() now should return True

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM