a-real-ai / pywinassistant

The first open source Large Action Model generalist Artificial Narrow Intelligence that controls completely human user interfaces by only using natural language. PyWinAssistant utilizes Visualization-of-Thought Elicits Spatial Reasoning in Large Language Models.
MIT License
1.25k stars 175 forks source link

Speech Recognition error on import #6

Closed maryxyan closed 2 months ago

maryxyan commented 2 months ago

ERROR: Could not find a version that satisfies the requirement speech_recognition (from versions: none) ERROR: No matching distribution found for speech_recognition

maryxyan commented 2 months ago

Solved with pip install SpeechRecognition [CaseSensitive]

henyckma commented 2 months ago

Thank you, I'm going to update the install requirements.

JasonSmithdAzEru commented 2 months ago

Facing same issue. Unfortunately still not working after updating installing. Still returning same error.

maryxyan commented 2 months ago

Facing same issue. Unfortunately still not working after updating installing. Still returning same error.

Maybe share a screenshot? Again it's Case Sensitive

Razorbob commented 2 months ago

@henyckma could you check my PR #9 and edit the stuff there if it is not to your liking? it should fix all the open Issues and add a reference how to install everything

roberto-coscia commented 2 months ago

image changed as adviced with SpeechRecognition on the assistant.py and the requirements.txt file and still getting the error

PS C:\Users\3Horizons\Desktop\vot\pywinassistant> python -m core.assistant              
Traceback (most recent call last):
  File "C:\Users\3Horizons\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\3Horizons\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\3Horizons\Desktop\vot\pywinassistant\core\assistant.py", line 6, in <module>
    import SpeechRecognition as sr
ModuleNotFoundError: No module named 'SpeechRecognition'
PS C:\Users\3Horizons\Desktop\vot\pywinassistant> 

requirements.txt file image

Python version installed : Python 3.8.1rc1

Any further advice on how to resolve the error shown above?

saqib727 commented 2 weeks ago

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (_ssl.c:1006)'))': /simple/speechrecognition/

I'm getting Following error now. When i do : pip install SpeechRecognition