macOS, Pyo, and Anaconda and where does the installer put files?

424 views
Skip to first unread message

Stanley Rosenbaum

unread,
Aug 29, 2017, 1:57:48 PM8/29/17
to pyo-discuss
Hello All,

I am trying to Install Pyo for Python 3.5 with Anaconda on macOS 10.12 however I am not having much luck.

Anaconda is my default Python Installation, and I am following Anaconda's Third Party Package Install instructions listed here:


Although I followed the instructions I get a “No module named 'pyo’” errors when I try to run the Pro example scripts, even from inside E-Pyo

If someone had any suggestions for installing Pyo with Anaconda I am all ears.

If nothing else, where does the macOS installer put the default files?  Maybe I can move them manually?

Thanks

Stan

Stanley Rosenbaum

unread,
Aug 29, 2017, 2:54:26 PM8/29/17
to pyo-discuss

OK after playing around I figured out what needs to be done to get PyO to work with Anaconda.

Follow these instructions.

1.  Use the compiling from source instructions for macOS using Homebrew here:


1A. So you need to install Homebrew so you can run the first line.

brew install liblo libsndfile portaudio portmidi --universal

1B.  Fix any warnings you get from HomeBrew.   Specifically, I had to force relink the files.  Homebrew should tell you what to do if you have to do that.

2.  Clone the Git Depot and go to the PyO directory.


3.  IMPORTANT STEP:  Activate the correct Anaconda  environment, from the command line with 'conda'.  You can find instructions on how to do that here:


If you are not using environments in Anaconda then don't worry.   But you have to do this for every environment  in Anaconda you want to use PyO in.

4.  Build PyO

python setup.py install --use-coreaudio --use-double


If all went well,  you should be able to use PyO in Anaconda.

Good luck.

Stan

Olivier Bélanger

unread,
Aug 30, 2017, 11:41:48 AM8/30/17
to pyo-discuss
Nice, I will put these instructions in the online documentation. Thanks!

Olivier
> --
> You received this message because you are subscribed to the Google Groups
> "pyo-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pyo-discuss...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages