Getting TypeError: expected string or buffer
marcinrosner opened this issue · 1 comments
Hello,
I installed muda 0.2.0 successfully, but when I import it I get the following error:
import muda
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/muda/init.py", line 5, in
from . import deformers
File "/usr/local/lib/python2.7/dist-packages/muda/deformers/init.py", line 7, in
from .pitch import *
File "/usr/local/lib/python2.7/dist-packages/muda/deformers/pitch.py", line 6, in
import librosa
File "/usr/local/lib/python2.7/dist-packages/librosa/init.py", line 12, in
from . import core
File "/usr/local/lib/python2.7/dist-packages/librosa/core/init.py", line 104, in
from .time_frequency import * # pylint: disable=wildcard-import
File "/usr/local/lib/python2.7/dist-packages/librosa/core/time_frequency.py", line 10, in
from ..util.exceptions import ParameterError
File "/usr/local/lib/python2.7/dist-packages/librosa/util/init.py", line 67, in
from .utils import * # pylint: disable=wildcard-import
File "/usr/local/lib/python2.7/dist-packages/librosa/util/utils.py", line 111, in
def valid_audio(y, mono=True):
File "/usr/local/lib/python2.7/dist-packages/librosa/cache.py", line 49, in wrapper
if self.cachedir is not None and self.level >= level:
File "/usr/local/lib/python2.7/dist-packages/joblib/memory.py", line 847, in cachedir
DeprecationWarning, stacklevel=2)
TypeError: expected string or buffer
How can I fix it?
I have just found a solution, it refers to the following post:
librosa/librosa#732