2

I want to use scikits.talkbox, but i get the following error while import 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'

code sample

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)

I use following code when installing scikits.talkbox

sudo pip3 install scikits.talkbox

Operation system ubuntu 16.10 python interpreter 3.5.2+

Seref
  • 39
  • 2
  • 5
  • This lib looks heavily outdated / deprecated (last change 8 years ago) and i would not be surprised to see that it's python 2 only. – sascha Apr 16 '17 at 14:30

1 Answers1

2

If you want MFCCs in Python 3, librosa is probably the better library of your choice.

Frank Zalkow
  • 3,850
  • 1
  • 22
  • 23