-
Notifications
You must be signed in to change notification settings - Fork 111
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: cannot load library #324
Comments
any update to this? I just raan into the same thing with python 3.10.8 |
You should have an up-to-date |
is 0.11 soundfile the latest? |
Hey there, first of all, I am not a programmer. I just need to run a program that has been sent to me and uses the soundfile library.
I have installed soundfile using pip (I am on Mac M1, using PyCharm as IDE, python 3.10.2) but when I run my program, I get this error:
File "/Users/mehradmansoubi/PycharmProjects/multi/venv/lib/python3.10/site-packages/soundfile.py", line 162, in <module> _snd = _ffi.dlopen(_os.path.join( OSError: cannot load library '/Users/mehrad/PycharmProjects/multi/venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib': dlopen(/Users/mehrad/PycharmProjects/multi/venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib, 0x0002): tried: '/Users/mehrad/PycharmProjects/multi/venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib' (no such file), '/usr/lib/libsndfile.dylib' (no such file)
where can I get this "libsndfile.dylib" and I am assuming, other missing files to get it to work? I read in some other issue that the problem is from pip 20. I downgraded it to a lower pip and it still does not work.
Could anyone please, in a simple non-programmer language explain what the issue is and how I can resolve it? thank you <3
The text was updated successfully, but these errors were encountered: