I am trying to convert DeepSpeech using Pyinstaller:
Steps to reproduce this error:
Download this file: https://drive.google.com/file/d/1AQx_zbXbbKHQLb2d5Z1xgIHpyPJsuo1m/view?usp=sharing
Install “Pyinstaller”, then run this command: "pyinstaller -y -F C:/Users/Kamal Chhirang/Downloads/New folder (22)/deep_speech_client.py
After it finishes converting the py file to exe. A folder named dist
will be created. Go to “dist” folder, and then run “deep_speech_client.exe” using CMD.
I am getting this error:
Traceback (most recent call last):
File "deep_speech_client.py", line 18, in <module>
File "c:\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\deepspeech\__init__.py", line 14, in <module>
File "c:\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\deepspeech\impl.py", line 13, in <module>
ImportError: DLL load failed: The specified module could not be found.
[36904] Failed to execute script deep_speech_client
I am using Python 3.7