Closed omar-karray closed 1 year ago
Found the Issue Dependency conflict between the install phyton3.11 on Mac and the installed one by brew.
Hi @omar-karray yes it's what it looks like.
The python installed by homebrew is configured to read into /opt/homebrew/lib
to find libraries, and here your installation of python is a different one, so it can't find the libcairo.2.dylib
library.
Please try the following as a workaround:
DYLD_LIBRARY_PATH=/opt/homebrew/lib erbb configure
Does it work?
Ah sorry, I've read too quickly.
Could you please tell how you made to select the right version of python? I think some other people would be glad to know.
hey @ohmtech-rdi
Thank you for your reactivity. the process is easy
remove all the python library
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.11
then remove the app from the application folder
sudo rm -rf “/Applications/Python 3.11"
then break that simlink that make the hole trouble :)
ls -l /usr/local/bin | grep ‘../Library/Frameworks/Python.framework/Versions/3.11’
after that make sure that python3 is installed via home-brew
brew info python3
if not installed
brew install python3
and you are good to go. finally will it be more interesting to have it dockerized with a docker image for erbb ? all the best Omar
Hey @omar-karray !
Ah ok, I was wondering if you were keeping multiple environments and were using some sort of pyenv
to move from one to another.
Happy to know it works for you!
And about Docker, there was this issue about it. Since installation is the main pain point of Eurorack-blocks, if you have a good idea on how to achieve this, please feel free to experiment or implement this!
My current idea about it was to make a self-contained release, pretty much like how aws-cli is installed as far as I remember.
in the setup phase of Eurorack-blocks I'm on Mac 13.0.1 (22A400) Apple M1 Pro, i have installed python
brew install python
thenerbb setup
on the cloned folder all the steps right :) where I executeerbb configure
on thedrop
folder I get this problem.If someone could help will be good !