Closed lukechilds closed 9 years ago
# brew install mopidy-spotify ==> Installing mopidy-spotify from mopidy/homebrew-mopidy ==> Installing dependencies for mopidy/mopidy/mopidy-spotify: mopidy/mopidy/py ==> Installing mopidy/mopidy/mopidy-spotify dependency: mopidy/mopidy/python-c ==> Downloading https://pypi.python.org/packages/source/c/cffi/cffi-1.2.1.tar.gz Already downloaded: /Library/Caches/Homebrew/python-cffi-1.2.1.tar.gz ==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/p c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found #include <ffi.h> ^ 1 error generated. error: command 'clang' failed with exit status 1 READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/homebrew): https://github.com/mopidy/homebrew-mopidy/issues
Running brew install libffi returns Warning: libffi-3.0.13 already installed and brew doctor just returns Your system is ready to brew.
brew install libffi
Warning: libffi-3.0.13 already installed
brew doctor
Your system is ready to brew.
Try running xcode-select --install, and then try installing again. Ref. https://pyspotify.mopidy.com/en/latest/installation/#id4
xcode-select --install
Ahh missed that, all sorted now, thanks.
Great! :-)
Running
brew install libffi
returnsWarning: libffi-3.0.13 already installed
andbrew doctor
just returnsYour system is ready to brew.