Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.
https://pypi.python.org/pypi/SpeechRecognition/
BSD 3-Clause "New" or "Revised" License
8.2k stars 2.39k forks source link

PyAudio is not working even after installing it #425

Open sagar1254 opened 5 years ago

sagar1254 commented 5 years ago

while installing pyaudio from pip the error i got was... ( error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools ) and to overcome this error i downloaded .whl file for python 3.7.1 and installed it

(What did you expect to happen?)

Now when I run my code of speech

recognition it is giving an error of ( import pyaudio as p ModuleNotFoundError: No module named 'pyaudio') code

but
cmd



System information
------------------

My **system** is <Windows 10x64 >. (For example, "Ubuntu 16.04 LTS x64", "Windows 10 x64", or "macOS Sierra".)

My **Python version** is <3.7.1>. (You can check this by running `python -V`.)

My **Pip version** is <19.1.1>. ()

My **SpeechRecognition library version** is <3.8.1>. (You can check this by running `python -c "import speech_recognition as sr;print(sr.__version__)"`.)

My **PyAudio library version** is <0.2.11)> / I don't have PyAudio installed. (You can check this by running `python -c "import pyaudio as p;print(p.__version__)"`.)
fygul commented 4 years ago

It seems you have different python environments. PyAudio was installed in your C:\ but not in F:\project Machine learning\ML\venv

You may try to configure your PyCharm to use the python env on C:\

shadowrockzzz commented 3 years ago

I too have the same issue but my python version is 3.8 and I have only one env. How can I solve this issue