I have followed the instructions on downloading and renaming the opus DLL found here. I have opus.dll in the same file as my Python file and I am not getting the 'Could not find Opus library. Make sure it is installed.' error, so the opus.dll file is being found. Based on what I found when looking at opus.dll with this tool I've also put libgcc_s_sjljaa-1.dll (which comes with the opusfile download) in the same directory since it appears it may be needed by opus.dll.
I am now getting this error when opus.dll is trying to be loaded:
Traceback (most recent call last):
File "C:\Users\username\Python\test2.py", line 5, in
from opuslib import encoder, decoder
File "C:\Python37\lib\site-packages\opuslib_init_.py", line 19, in
from .exceptions import OpusError # NOQA
File "C:\Python37\lib\site-packages\opuslib\exceptions.py", line 10, in
import opuslib.api.info
File "C:\Python37\lib\site-packages\opuslib\api_init_.py", line 24, in
libopus = ctypes.CDLL(lib_location)
File "C:\Python37\lib\ctypes_init_.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
It looks like this is likely not an issue with opuslib but any advise on how to resolve would be appreciated.
I have followed the instructions on downloading and renaming the opus DLL found here. I have opus.dll in the same file as my Python file and I am not getting the 'Could not find Opus library. Make sure it is installed.' error, so the opus.dll file is being found. Based on what I found when looking at opus.dll with this tool I've also put libgcc_s_sjljaa-1.dll (which comes with the opusfile download) in the same directory since it appears it may be needed by opus.dll.
I am now getting this error when opus.dll is trying to be loaded:
Traceback (most recent call last):
File "C:\Users\username\Python\test2.py", line 5, in
from opuslib import encoder, decoder
File "C:\Python37\lib\site-packages\opuslib_init_.py", line 19, in
from .exceptions import OpusError # NOQA
File "C:\Python37\lib\site-packages\opuslib\exceptions.py", line 10, in
import opuslib.api.info
File "C:\Python37\lib\site-packages\opuslib\api_init_.py", line 24, in
libopus = ctypes.CDLL(lib_location)
File "C:\Python37\lib\ctypes_init_.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
It looks like this is likely not an issue with opuslib but any advise on how to resolve would be appreciated.