-
Notifications
You must be signed in to change notification settings - Fork 27
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
Library not found on Apple silicon #120
Comments
I don't know any expected platform-specific behavior, but it seems that This is part of the standard library, so this part is independent of the Here is some discussion about Can you try It might also be interesting to try different Python versions. |
Thanks for the response. I checked what libraries are available in different places on the M1 system, with the following results:
Python does not recognize either. Do you have a recommendation on how to modify the system configuration so that the libraries are recognized? Then we could think about how to solve the issue or whether it should be propagated to the JACK community, or how the homebrew formula is set up on Apple Silicon. FYI, on my Intel Mac, things are in slightly different places, most notably that
|
Thanks for the information! Now I remember that: bastibe/python-soundfile#311 The problem seems to be that the libraries installed by I would consider this a bug, but I'm not sure if this has to be solved by Python or by The I would hope that this will be fixed by Python or Maybe we also have to implement a work-around? |
Right. I validated that on M1 creating a symbolic link with
I will look later and try to understand how soundfile did it. This seems to be a bigger issue in general. There isn't a straightforward way of how to add |
I think this should already be the case, and because it's not, I guess it is a bug. Other than that, there are some environment variables like On Linux, there is |
The following methods make the library available to python so that the
Both of these options require modifications of the local system configuration by the user. Adding (2) to your shell startup config may be helpful for the availability of homebrew libraries on M1 in general. However, from what I remember reading somewhere regarding this general discussion around the destination change of homebrew on M1, manipulating Therefore, I assume implementing a (temporary) fallback solution inside |
Yeah, I think the fallback solution would be the most pragmatic for now. |
I have finally tackled this in #129. |
This concerns an Apple M1 system. I'm surprised importing the module fails entirely and has not been detected yet. Maybe nobody has tried it yet? I assume this may be a more general issue and not exclusive to my device since it is relatively vanilla.
jack
installed via homebrew, which works without issues as far as I have seen (e.g. SSR).conda
environment withpip install JACK-Client
, resulting inpython 3.11.3
,cffi 1.15.1
,jack-client 0.5.4
import jack
gettingOSError: JACK library not found
(from jack.py, line 44)I have no idea how to debug this and find where it actually looks for the library and/or how to modify the locations. Do you have any idea?
The text was updated successfully, but these errors were encountered: