我想使用scikits.talkbox,但導入scikits.talkbox時出現以下錯誤。導入scikits.talkbox時出錯
Traceback (most recent call last): File "/home/seref/Desktop/machine learning codes/MFCC/main.py", line 3, in from scikits.talkbox.features.mfcc import mfcc File "/usr/local/lib/python3.5/dist-packages/scikits/talkbox/init.py", line 3, in from tools import * ImportError: No module named 'tools'
import scipy.io.wavfile
from scikits.talkbox.features.mfcc import mfcc
sample_rate, X = scipy.io.wavfile.read("data/test_1.wav")
ceps, mspec, spec = mfcc(X)
安裝scikits.talkbox
sudo pip3 install scikits.talkbox
操作系統Ubuntu的16.10 Python解釋器3.5.2+
此庫看起來嚴重過時/不贊成(最後更改8年前),我不會驚訝地發現它只是python 2。 – sascha