I know this is an error raised other times but no suggested answers could help me.
I can import some scripts just fine, for example example the one explained in the doc here: https://docs.uipath.com/activities/docs/invoking-a-python-script
is working just fine.
The issue is with this python script:
import speech_recognition as sr r=sr.Recognizer() def Speech(): with sr.Microphone() as source: audio=r.listen(source) try: return(r.recognize_google(audio)) except: pass
If I run the script from an editor it works.
I’m trying to reproduce https://github.com/vikaskulhari/SpeechRecognitionWithUiPath
If I check in the log files I don’t see errors in WorkflowAnalyzer_Execution.log or execution.log