ppwwyyxx / speaker-recognition

A Speaker Recognition System
Apache License 2.0
675 stars 276 forks source link

ImportError: cannot import name 'cached_func' #67

Closed aishwaryaanegundi closed 6 years ago

aishwaryaanegundi commented 6 years ago

I was trying to execute mfcc.py program I got the below import error.

Traceback (most recent call last): File "mfcc.py", line 11, in from utils import cached_func, diff_feature ImportError: cannot import name 'cached_func'

I have installed utils using below command

pip install python-utils

It said Utils 2.2.0 is sucessfully installed.

Please help me with this.

aishwaryaanegundi commented 6 years ago

It was a silly misconception. I found the utils.py file in the features folder itself in which cach_feature is defined