On 2021-09-19 13:42, Shashwat Pandey wrote:
---------- Forwarded message ---------
From: <python-list-ow...@python.org>
Date: Sun, Sep 19, 2021, 13:20
Subject: query
To: <shashwatpandey2...@gmail.com>


Hello!  I see you want to post a message to the Python List.  We would
be happy to help, but you must subscribe first:

   https://mail.python.org/mailman/listinfo/python-list

After you have subscribed, please send your message to
python-list@python.org again.  Please do not include images as this is
a text-only forum -- instead, copy/paste or transcribe the information
from the image that you want us to know.

Alternatively, this list is mirrored both ways with the
comp.lang.python newsgroup (news:comp.lang.python).

Some people find it easier to follow this and other lists via gmane
(http://news.gmane.org/gmane.comp.python.general), a service which
offers a newsgroup interface to many online mailing lists.

*NB all posts to the mailing list are publicly archived at:*

   https://mail.python.org/pipermail/python-list





---------- Forwarded message ----------
From: Shashwat Pandey <shashwatpandey2...@gmail.com>
To: python-list@python.org
Cc:
Bcc:
Date: Sun, 19 Sep 2021 13:19:31 +0530
Subject: query
Hello,
One thing I want to ask...

How to Fix Installation Error of PyAudio in VS Code ( Windows 32 Bit ) ??

Please Answer Me....
It's very essential to complete my concept digitalization system project.

the error is given below please solve this problem


PS C:\Users\PRIYA> pip install pyaudio
Collecting pyaudio
   Using cached PyAudio-0.2.11.tar.gz (37 kB)
Using legacy 'setup.py install' for pyaudio, since package 'wheel' is not
installed.
Installing collected packages: pyaudio
     Running setup.py install for pyaudio ... error
     ERROR: Command errored out with exit status 1:
      command:
'C:\Users\PRIYA\AppData\Local\Programs\Python\Python39-32\python.exe' -u -c
'import io, os, sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\PRIYA\\AppData\\Local\\Temp\\pip-install-v8hphebk\\pyaudio_4240cdb9492c47abb6d002cdb32aa86c\\setup.py'"'"';
__file__='"'"'C:\\Users\\PRIYA\\AppData\\Local\\Temp\\pip-install-v8hphebk\\pyaudio_4240cdb9492c47abb6d002cdb32aa86c\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\PRIYA\AppData\Local\Temp\pip-record-bdr6wfd9\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\PRIYA\AppData\Local\Programs\Python\Python39-32\Include\pyaudio'
          cwd:
C:\Users\PRIYA\AppData\Local\Temp\pip-install-v8hphebk\pyaudio_4240cdb9492c47abb6d002cdb32aa86c\
     Complete output (9 lines):
     running install
     running build
     running build_py
     creating build
     creating build\lib.win32-3.9
     copying src\pyaudio.py -> build\lib.win32-3.9
     running build_ext
     building '_portaudio' extension
     error: Microsoft Visual C++ 14.0 or greater is required. Get it with
"Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/
     ----------------------------------------
ERROR: Command errored out with exit status 1:
'C:\Users\PRIYA\AppData\Local\Programs\Python\Python39-32\python.exe' -u -c
'import io, os, sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\PRIYA\\AppData\\Local\\Temp\\pip-install-v8hphebk\\pyaudio_4240cdb9492c47abb6d002cdb32aa86c\\setup.py'"'"';
__file__='"'"'C:\\Users\\PRIYA\\AppData\\Local\\Temp\\pip-install-v8hphebk\\pyaudio_4240cdb9492c47abb6d002cdb32aa86c\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\PRIYA\AppData\Local\Temp\pip-record-bdr6wfd9\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\PRIYA\AppData\Local\Programs\Python\Python39-32\Include\pyaudio'
Check the logs for full command output.
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is
available.
You should consider upgrading via the
'C:\Users\PRIYA\AppData\Local\Programs\Python\Python39-32\python.exe -m pip
install --upgrade pip' command.

By default, pip looks for packages on PyPI.

Unfortunately, it looks like PyAudio is not available on PyPI for that version of Python.

Fortunately, it _is_ available from Christoph Gohlke's site:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio

The one you want is:

PyAudio‑0.2.11‑cp39‑cp39‑win32.whl
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to