"ImportError: DLL load failed: The specified module could not be found." when running deepspeech

I investigated this using Dependency Walker and Process Monitor and managed to fix the issue by moving libdeepspeech.so from Lib/site-packages/deepspeech/lib/libdeepspeech.so to Lib/site-packages/deepspeech/libdeepspeech.so because that was the only place Python was looking for it in.
However, I’m sure this is not intended behaviour.

1 Like