How do you make the issue happen? Does it happen every time you try it?
The issue is coming only when I convert my python code to an exe format using py2exe, otherwise it's working good as a python
program. But my requirement is to make it work as an exe.
If there are any files, like audio recordings, don't forget to include them.
I'm taking the audio input from microphone
Expected behaviour
It should convert my speech to text
Actual behaviour
Speech to text not happening, getting this following exception :
[WinError 2] The system cannot find the file specified.
Steps to reproduce
How do you make the issue happen? Does it happen every time you try it?
If there are any files, like audio recordings, don't forget to include them.
Expected behaviour
It should convert my speech to text
Actual behaviour
Speech to text not happening, getting this following exception : [WinError 2] The system cannot find the file specified.
System information
My system is Lenovo E495, Windows 10 x64.
My Python version is 3.6.13.
My Pip version is 21.2.2 .
My SpeechRecognition library version is 3.8.1.
My PyAudio library version is 0.2.11
My microphones are: ['Microsoft Sound Mapper - Input', 'Microphone Array (Synaptics Aud', 'Microsoft Sound Mapper - Output', 'Speakers (Synaptics Audio)']
Here my Code for speech to text :
Here's my setup code to convert python program to exe using py2exe library
command to convert python code to exe : python app_setup.py py2exe
`