-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error installing on mac M1 system #267
Comments
hey - I've almost got this working. I had to:
However - it's still not working but that's because of a bad link to an internal module which i'm tempted make a PR for. Not much help but it will get you closer to it working. |
Actually - this still doesn't work. I'm at a loss. |
Had same issue on M1 Mac. Got this to work with normal pip install: Edit your shell of choice with the following: (if using bash, use export CFLAGS= syntax instead...) Make sure you install portaduio using brew, as you've done already. I then got pip install pyo to install successfully since it will now compile the needed libraries looking in /opt/homebrew/ instead of /usr/local/ Hope this helps... |
Thanks for all the comments everyone. I finally got this to work. I had to install the following packages using brew: portmidi I cloned this repo, cd'd to it, and activated a pre-existing virtual environment (you don't have to do this, but that's why I didn't install with sudo). Then I set up the following variables in order to build:
Then I just ran One weird thing is when I first tested it with Hopefully this helps someone. |
The pyo was installed and ran in my windows computer successfully but I had the same error, while trying to build a package with in kivy buildozer... I thought my own that maybe there are no recipies for it yet but right i do not know how i can make it work |
Hello,
I have read many of the related issues that people are having and tried many of the solutions but I am still having trouble. First I installed pyo with pip but when I tried to import it I got
I then installed from source by cloning the repo and doing
sudo python3 setup.py install
and that succeeded, but when Iimport pyo
I get:If I run
python3 -c 'import pyo'
from a different directory (other than the root of the repo) I am back to the original error ofsymbol not found in flat namespace
.Dependencies are installed via homebrew.
I set up the following before building from source:
Still having trouble.
Hope someone can help. Does this package run on an M1? Do I need to build it under Rosetta? BTW I am using an ARM (M1) version of Python.
Does pyo (including the wx/gui portions) work under Docker? I'd settle for a working docker image for the time being.
Thanks
The text was updated successfully, but these errors were encountered: