-
Notifications
You must be signed in to change notification settings - Fork 33
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
OSError when importing opensmile on MacBook M1 laptop #64
Comments
We currently do not support M1, see also audeering/audresample#21. But we are planing to add it in the near future. |
We have now made a new release of $ pip install --upgrade audresample and try again. |
I tried to upgrade the audresample, but it seems not to work. I got the following errors: dlopen(/Users/yuwang/miniforge3/lib/python3.10/site-packages/audresample/core/bin/macos-intel/libaudresample.dylib, 0x0006): tried: '/Users/yuwang/miniforge3/lib/python3.10/site-packages/audresample/core/bin/macos-intel/libaudresample.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/yuwang/miniforge3/lib/python3.10/site-packages/audresample/core/bin/macos-intel/libaudresample.dylib' (no such file), '/Users/yuwang/miniforge3/lib/python3.10/site-packages/audresample/core/bin/macos-intel/libaudresample.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) |
Thanks for reporting again. What seems strange to me is that it tries to load Could you post the output of the following two commands: platform.system()
platform.processor() |
I have exactly the same problem except "intel" does not show up in my error:
|
We added support for MacOS M1 only with version 1.2.0 of $ pip install --upgrade audresample and try again. We are catching the case of |
Any idea where else the source of the problem could be? |
I tried this:
Which gives me:
But it did not help either... Here's the full error message I get on my MacBook Pro M1 Max:
|
You are right, we need to provide openSMILE binaries for M1 as well, |
Just checking if there's hope here : ) Would love to implement openSMILE for this but can't because I'm stuck on a M1 laptop... |
Anyone got any updates on this? Praying for a fix. TIA! |
There are two steps this:
Both steps require that we use internal CI runners to build the required binaries. For |
With release 2.5.0 we have now added support for M1. Could you please update your installation and try again. |
I installed opensmile in a miniforge3 environment, but when I try to import it I get the following error:
OSError: dlopen(/Users/omertzuk/miniforge3/envs/tf/lib/python3.8/site-packages/audresample/core/bin/libaudresample.dylib, 0x0006): tried: '/Users/omertzuk/miniforge3/envs/tf/lib/python3.8/site-packages/audresample/core/bin/libaudresample.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
Is there a way to make it work on x86_64 architecture?
The text was updated successfully, but these errors were encountered: