-
Notifications
You must be signed in to change notification settings - Fork 120
Description
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