Problem:
During a module install, error such as:
ERROR: Could not build wheels for pyaudio which use PEP 517 and cannot be installed directly Exception information: Traceback (most recent call last): File "/home/david/whisper_real_time/venv/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 186, in _main status = self.run(options, args) File "/home/david/whisper_real_time/venv/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 398, in run raise InstallationError( pip._internal.exceptions.InstallationError: Could not build wheels for pyaudio which use PEP 517 and cannot be installed directly |
Solution:
Upgrade pip, setuptools, wheel:
pip install --upgrade pip setuptools wheel