LoginSignup
0
1

pyaudioがインストールできないときの対処方法

Posted at

※お急ぎの方は、「結論」を参照してください

環境

  • Ubuntu20.04.5LTS
  • Python 3.8.10

状況

 pyaudioをインストールしようとしたところ、以下のエラーが発生した。

ERROR: Could not build wheels for pyaudio, which is required to install pyproject.toml-based projects

試したこと

1つ目

$ sudo apt install portaudio19-dev
$ pip install pyaudio

2つ目

$ pip install python3-pyaudio
ERROR: No matching distribution found for python3-pyaudio

いずれのだめだった

結論

以下を実行したら正常にインストールできた。

$ pip install PyAudio

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1