-
Notifications
You must be signed in to change notification settings - Fork 15
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
NumCalc Manager does not run on Apple Silicon due to soundfilelib incompatibility. #23
Comments
How is this related to Mesh2HRTF and numcalc_manager? We do not you libsndfile. See requirements: Best, Fabian |
OK, I see. Sorry if I put this in the wrong section. Weird thing is that numcalc_manager.py complains about soundfile not being installed (or rather that its dylib cannot be found). No idea what's going on here. But it's happening on two Apple Silicon systems, but not on an Apple Intel install. Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
BTW, according to my understanding pyfar, which is used in the project, uses soundfile, hence the error. This line made me suspicious: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyfar/io/io.py", line 17, in Am I correct? Not the most savvy python user here, so forgive my ignorance ;-). |
Thanks for clarifying - that makes sense. The next release seems to be close: We could also make soundfile optional for pyfar, but that might take longer than waiting for the new soundfile release. |
@SymphonX the work on the new soundfile release seems to take longer than I hoped. We prepared a new relase where soundfile is optional: pyfar/pyfar#334 Can you check if that works for you? You'd have to clone the pyfar repository, switch to the branch and than install pyfar (in a clean environment) using |
You can also try installing libsndfile from conda-forge. At least the miniforge version does support arm64. |
Thanks! I will check but it might take a week or so as I'm currently out of office. Looking forward testing this on the M1 Ultra! |
The most recent version of pyfar (0.4.3) also includes a workaround for broken soundfile Imports due to m1 incompatibilities, beware though that reading and writing *.wav files won't work in this case. |
As the title suggests. NumCalc manager won't run on Apple Silicon CPUs due to an issue with the libsndfile dylib (or the python package).
See: bastibe/python-soundfile#310
Please point to this information in the guide as there currently appears to be no way to run the manager on the affected systems. Let's hope an update to python-soundfile will be released soon.
Thanks.
The text was updated successfully, but these errors were encountered: