Thanks very much to all who replied. This problems was solved as
follows: First I downloaded "PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl"
from "https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio" as suggested
by MRAB and Terry Reedy. Then I ran "python -m pip install
PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl". Then I ran the script at
"https://stackoverflow.com/questions/35344649/reading-input-sound-signal-using-python#35390981".
That produced "output.wav" containing 5 seconds of sound recorded from a
radio connected to "audio in" on my Windows 7 machine.
Thanks again.
Spencer Graves
On 2018-09-21 23:33, Terry Reedy wrote:
On 9/21/2018 8:57 PM, MRAB wrote:
On 2018-09-22 01:02, Michael Torrie wrote:
On 09/21/2018 07:22 AM, Spencer Graves wrote:
PYTHON - M PIP INSTALL PYAUDIO
"python -m pip install pyaudio" stopped with 'error:
Microsoft visual C++14.0 is required. Get it with "Microsoft
Visual C++ Build Tools":
http://landinghub.visualstudio.com/visual-cpp-build-tools".
You're going to want to wait until binary wheels of pyaudio for Python
3.7 and Windows 64-bit land in the PyPI repository. Unless you're
already a visual studio user and have the where with all to build it
from source. Python 3.7 is a recent release, so I'm not surprised that
some packages don't yet have binary wheels in the repository.
Christoph Gohlke's site appears to have a binary release for Python 3.7:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
As I remember, he was building binaries for the 300 packages on the
site well before the 3.7.0 release.
--
https://mail.python.org/mailman/listinfo/python-list