speech_recognition
speech_recognition copied to clipboard
it is throwing me error that speech_recognition not recognized
Steps to reproduce
- yes actually i am doing a project for my own but it throwed me an error
- { "resource": "/d:/RAJ/projects by me/python projects/jarvis/main.py", "owner": "generated_diagnostic_collection_name#2", "code": { "value": "reportMissingImports", "target": { "$mid": 1, "external": "https://github.com/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md#diagnostic-severity-rules", "path": "/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md", "scheme": "https", "authority": "github.com", "fragment": "diagnostic-severity-rules" } }, "severity": 4, "message": "Import "speech_recognition" could not be resolved", "source": "Pylance", "startLineNumber": 2, "startColumn": 8, "endLineNumber": 2, "endColumn": 26 }
- no i dont have any of those
Expected behaviour to work
(What did you expect to happen?) to work Actual behaviour not working
(What happened instead? How is it different from what you expected?)
(If the library threw an exception, paste the full stack trace here)
System information
(Delete all the statements that don't apply.)
My system is <INSERT SYSTEM HERE>. (For example, "Ubuntu 16.04 LTS x64", "Windows 10 x64", or "macOS Sierra".)
My Python version is <INSERT VERSION HERE>. (You can check this by running python -V
.)
My Pip version is <INSERT VERSION HERE>. (You can check this by running pip -V
.)
My SpeechRecognition librasry version is <INSERT VERSION HERE>. (You can check this by running python -c "import speech_recognition as sr;print(sr.__version__)"
.)
My PyAudio library version is <INSERT VERSION HERE> / I don't have PyAudio installed. (You can check this by running python -c "import pyaudio as p;print(p.__version__)"
.)
My microphones are: (You can check this by running python -c "import speech_recognition as sr;print(sr.Microphone.list_microphone_names())"
.)
My working microphones are: (You can check this by running python -c "import speech_recognition as sr;print(sr.Microphone.list_working_microphones())"
.)
I installed PocketSphinx from <INSERT SOURCE HERE>. (For example, from the Debian repositories, from Homebrew, or from the source code.)
Hello, it is not clear what is wrong, not all the needed fields are filled.