pyo
pyo copied to clipboard
include dependency binaries in install docs
Hi, I'm excited to play with pyo! However, on MacOS 12.4 there are several undocumented dependencies before it can run. Using homebrew I was able to install them with
> brew install pyo liblo portmidi
Without them I got these errors:
src/_portaudiomodule.c:29:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
...
include/md_portmidi.h:25:10: fatal error: 'portmidi.h' file not found
#include "portmidi.h"
^~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
...
src/engine/osclistenermodule.c:26:10: fatal error: 'lo/lo.h' file not found
#include "lo/lo.h"
^~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
Thanks for sharing. This fixed the issue I was having trying to install this package on Python 3.10.5
Dependencies are documented in "Compiling pyo from sources" documentation:
http://ajaxsoundstudio.com/pyodoc/compiling.html#macos-homebrew