belangeo / cecilia5

Ear-bending noises and music
226 stars 20 forks source link

Cecilia does not work on Mac Sonoma (Intel) #114

Open shreeswifty opened 11 months ago

shreeswifty commented 11 months ago

Does not launch at all on mac intel Sonoma 5.4.1

pelevesque commented 8 months ago

UPDATE: Modified to add portmidi like @shreeswifty says in a comment below, and also adds the line to put Homebrew in your PATH.


I was able to make Cecilia work in Sonoma 14.2.1

I followed the instructions in README.rst then added some missing macOS packages using Homebrew.


  1. I made sure Python was installed. I ran python3 --version in the terminal and got Python 3.9.5 If it is not installed, I believe you can install it with Apple xTools.

  2. I installed Git. I have version 2.39.3

  3. I ran python3 -m pip install --user pyo wxPython numpy to install Python packages indicated in the README.rst

  4. I cloned the application using Git. git clone git@github.com:belangeo/cecilia5.git and CDed into the created directory.

  5. When I tried to launch the application with python3 Cecilia5.py it failed.

  6. I installed Homebrew with /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  7. I put Homebrew in my PATH with: export PATH=$PATH:/opt/homebrew/bin

  8. I ran these commands to install 6 packages using Homebrew.

brew install flac
brew install libvorbis
brew install opus
brew install mpg123
brew install lame
brew install portmidi
  1. Now, when I launch the application with python3 Cecilia5.py it works!
klangschmied commented 8 months ago

The Standalone Cecilia5.4.app works on Ventura. Is it different to the py-version?

pelevesque commented 8 months ago

Cecilia5.4 is also made with Python. It's just a packaged release which means there is no installation to be done. What I did was clone this Git repo and run Cecilia from it. It has some extra fixes since the 5.4 release. Something like 20 or so more commits - some bug fixes, some documentation upgrades, etc... I tried running the 5.4 package in Sonoma, but it crashed. I never tried in Ventura.

shreeswifty commented 8 months ago

Cecilia 5.4.1 does not work on Sonoma but with pelevesque's help and my addition it does

I was able to make Cecilia work in Sonoma 14.2.1

I followed the instructions in the README.rst then added some missing packages.

1. I made sure Python was installed. I ran `python3 --version` in the terminal and got `Python 3.9.5` I believe this is pre-installed with Sonoma.

2. I installed Git. I have version 2.39.3

3. I ran `python3 -m pip install --user pyo wxPython numpy` to install the dependencies indicated in the README.rst

4. I cloned the application using Git. `git clone git@github.com:belangeo/cecilia5.git` and CDed into the created directory.

5. When I tried to launch the application with `python3 Cecilia5.py` it failed.

6. I installed Homebrew with `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`

7. I ran these commands to install 5 packages using homebrew.
brew install flac
brew install libvorbis
brew install opus
brew install mpg123
brew install lame
8. Now, when I launch the application with `python3 Cecilia5.py` it works!

Not quite with me i had to also i

brew install portmidi

then it worked

klangschmied commented 8 months ago

Still no success to start via Cecilia5.py on Ventura. File "/......../Cecilia5.py", line 25, in from Resources.Variables import loadBitmaps File "/........Resources/Variables.py", line 24, in from pyo import pa_get_default_devices_from_host ModuleNotFoundError: No module named 'pyo'

pelevesque commented 8 months ago

@klangschmied I thought you said the Standalone Cecilia5.4.app works in Ventura... now you are saying it doesn't? If you install manually like I did, instead of using the packaged version, then you have this line to run:

python3 -m pip install --user pyo wxPython numpy

That should install pyo.

klangschmied commented 8 months ago

To clarify, Standalone Cecilia5.4.app works on Ventura, but I want to run the Cecilia.py version, because of the enhancement of the py-version. I installed according your advice python3 -m pip install --user pyo wxPython numpy but no luck with the py-version to run. Anyway, I am glad to have Cecilia54.app running! Thanks for your support!

oivindi commented 8 months ago

The Standalone Cecilia5.4.app works on Ventura. Is it different to the py-version?

Hey there. You said in another thread that Cecilia 5.4 wouldn't run on Ventura - has this changed? Just curious if I should at least take the step up to Ventura (and still wait with Sonoma) ...

klangschmied commented 8 months ago

Zhe Standalone Cecilia5.4.app works on Ventura, but the py-version via terminal did not work for me. Hope this helps.