-
Notifications
You must be signed in to change notification settings - Fork 112
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
Can't import soundfile when docker running #238
Comments
Do you have libsndfile installed in your docker container? SoundFile doesn't seem to think so. |
The same problem. libsndfile1 is installed |
As the error states, |
Can you explain detailed it for me ? Thanks ! |
This is a problem on your computer. You have to configure your system so |
In simple run application everything okay,
But when try to launch my app I've got the error:
File "/code/api_v1/urls.py", line 3, in
from . import views
File "/code/api_v1/views.py", line 11, in
import soundfile as sf
File "/usr/local/lib/python3.7/site-packages/soundfile.py", line 267, in
_snd = _ffi.dlopen('sndfile')
File "/usr/local/lib/python3.7/site-packages/cffi/api.py", line 146, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "/usr/local/lib/python3.7/site-packages/cffi/api.py", line 828, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "/usr/local/lib/python3.7/site-packages/cffi/api.py", line 823, in _load_backend_lib
raise OSError(msg)
OSError: ctypes.util.find_library() did not manage to locate a library called 'sndfile'
The text was updated successfully, but these errors were encountered: