-
Notifications
You must be signed in to change notification settings - Fork 56
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
M1 Mac Support? #14
Comments
Interesting, if I remove the versions from numpy and librosa things seem to work inside docker at least on an M1. Here is the docker so you can see what I'm doing...
|
I'm trying to install it on M1 and I have the same issue. It'd be great to support it! |
I'm sort of there inside docker at least, using my own repo that just removes the version numbers on librosa and numba... Here is the current docker:
To run it add the above to a directory in a file called docker build -t beatnet-dockerised .
docker run --rm --device /dev/null:/dev/snd -it beatnet-dockerised This will drop you into a python shell that might be able to run the offline models - the streaming ones seem to have an ASLA crash that I don't understand. Anyway this is at least a start, it would be good for the author to consider checking if the packages he depends on specific versions for have been fixed because they cause incompatibility on MacOS and make things very hard to build. I'll leave mounting a volume for music to read from as an exercise for the reader... |
This seems to work on my computer:
Source: https://stackoverflow.com/questions/67567987/m1-mac-how-to-install-llvm |
I've managed to compile on my M2 running Ventura installing llvm-11 with MacPorts and using:
but
fails with this error:
? |
Opened a PR here: #39 |
I've been wondering if anyone has got this awesome looking package working on M1 - I cannot for the life of me figure out which versions of numba and llvm to use. Brew doesn't let you install a version of llvm compatible with the versions of numba specified.
I wonder if I should checkout the repo, change some of the version requirements and cross my fingers 😂
Alternatively is this possible inside docker - will portaudio work inside a docker container?
The text was updated successfully, but these errors were encountered: