-
Notifications
You must be signed in to change notification settings - Fork 938
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
Cannot load when importing librosas #1117
Comments
This problem is coming from libsndfile, a dependency of Did you install librosa (and its dependencies) from conda-forge or pip? I recommend conda-forge if you're already in a conda environment, as that should settle the binary dependency issues. You should probably uninstall |
Closing this out, as this is an upstream issue and we can't do anything about it in librosa. |
This was an ineffective resolution.
|
I did explicitly say conda-forge, not conda. It is definitely available on conda-forge. |
In my case, conda-forge is just a channel of conda. conda-forge / packages / pysoundfile 0.10.3.post1
This does not seem to work as a substitute for |
Yes, they are the same. The package naming here is unfortunate, but out of our control. |
Now I see, as you stated, it's the order of operation.
However, those finding this issue will likely have already installed As I have just experienced, uninstalling If |
Cannot load when importing librosa, conda local installation, version 0.7.2, the error code is as follows
import librosa
Traceback (most recent call last):
File "G:\Anaconda\lib\site-packages\soundfile-0.10.3.post1-py3.7.egg\soundfile.py", line 142, in
raise OSError('sndfile library not found')
OSError: sndfile library not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
import librosa
File "G:\Anaconda\lib\site-packages\librosa-0.7.2-py3.7.egg\librosa_init_.py", line 12, in
from . import core
File "G:\Anaconda\lib\site-packages\librosa-0.7.2-py3.7.egg\librosa\core_init_.py", line 126, in
from .audio import * # pylint: disable=wildcard-import
File "G:\Anaconda\lib\site-packages\librosa-0.7.2-py3.7.egg\librosa\core\audio.py", line 10, in
import soundfile as sf
File "G:\Anaconda\lib\site-packages\soundfile-0.10.3.post1-py3.7.egg\soundfile.py", line 163, in
_path, '_soundfile_data', _libname))
OSError: cannot load library 'G:\Anaconda\lib\site-packages\soundfile-0.10.3.post1-py3.7.egg_soundfile_data\libsndfile64bit.dll': error 0x7e
The text was updated successfully, but these errors were encountered: