pyo icon indicating copy to clipboard operation
pyo copied to clipboard

include dependency binaries in install docs

Open zevaverbach opened this issue 3 years ago • 1 comments

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

zevaverbach avatar Jun 29 '22 15:06 zevaverbach

Thanks for sharing. This fixed the issue I was having trying to install this package on Python 3.10.5

andrewpearce0 avatar Jul 07 '22 10:07 andrewpearce0

Dependencies are documented in "Compiling pyo from sources" documentation:

http://ajaxsoundstudio.com/pyodoc/compiling.html#macos-homebrew

belangeo avatar Nov 04 '22 18:11 belangeo