speech_recognition icon indicating copy to clipboard operation
speech_recognition copied to clipboard

Facing problem related pyaudio installation

Open Smruti1998 opened this issue 2 years ago • 3 comments

I'm constantly getting this error. Please give me suggestions.

Defaulting to user installation because normal site-packages is not writeable Collecting pyaudio Using cached PyAudio-0.2.11.tar.gz (37 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [11 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 14, in File "C:\Program Files\Python310\setuptools_init_.py", line 2, in from setuptools.extension import Extension, Library File "C:\Program Files\Python310\setuptools\extension.py", line 5, in from setuptools.dist import _get_unpatched File "C:\Program Files\Python310\setuptools\dist.py", line 103 except ValueError, e: ^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Smruti1998 avatar Feb 28 '22 14:02 Smruti1998

Same as #599

ghost avatar Mar 11 '22 19:03 ghost

same here.. can someone help fix this issue?

jedi24garcia avatar Apr 14 '22 22:04 jedi24garcia

@jedi24garcia

pip install pipwin
pipwin install PyAudio

Ccode-lang avatar May 25 '22 18:05 Ccode-lang