LoginSignup
2
0

More than 5 years have passed since last update.

pyaudioをインストールしようとしたら詰まった話

Posted at

Pyaudioの時の備忘録

Pyaudioをインストールしようとしたら

$ pip install pyaudio
---略---
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
    Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
    See `man xcode-select` for more details.
    error: command 'clang' failed with exit status 1

という風に怒らました。

おそらくXcodeを消したのが原因かと。

そこでググって、

$ xcode-select --install
$ sudo xcode-select -switch /Library/Developer/CommandLineTools

これで解決!

無事にpyaudioをインストールすることができました。

2
0
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
2
0