FileNotFoundError: [WinError 2] system can't find the file specified

Deadly 提交于 2019-12-11 14:25:49

问题


I used to load waveform file with librosa but failed

I tried to check the kernel.jason file to fix it

import librosa
import matplotlib.pyplot as plt
import numpy as np
import librosa.display
import IPython.display as ipd
%matplotlib inline

filepath = './audio_train/happy/'
filename = filepath + '00334.wav'

y, sr = librosa.load(filename, sr=None)

FileNotFoundError: [WinError 2] The system cannot find the file specified.


回答1:


i fix this problem by entering conda install -c conda-forge librosa at prompt



来源:https://stackoverflow.com/questions/56235766/filenotfounderror-winerror-2-system-cant-find-the-file-specified

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!