Windows dev environment - azlux/botamusique GitHub Wiki
On Windows, setting up the bot is a lot harder than Linux(like Debian)
Two libraries will have different install method compared to Linux : Magic and Opus
Magic
magic DLL can be obtain with pip3 install python-magic-bin
Opus
You need DLL from opuslib:
opus.dll
(renamed fromlibopus-0.dll
)libwinpthread-1.dll
libgcc_s_sjlj-1.dll
(libgcc_s_seh-1.dll
in case of 64bits) If you are lazy like me, you can add them toScripts
folder in python3 folder. (DLL need to be on windows PATH variable)
32bits Python version
- opus DLL can be obtained from the 'opusfile' download at http://opus-codec.org/downloads/
64bits Python version
- Go on https://ci.appveyor.com/project/rillian/opus -> "ReleaseDLL; Platform: x64" -> "Artifacts" -> Download the "opus.zip", DLL is compressed inside.
libwinpthread-1.dll
andlibgcc_s_seh-1.dll
can be found in to the MinGW bin folder. Copy are here