scikits.talkbox 和 Python3 有问题吗?

Something wrong with scikits.talkbox with Python3?

我正在将 Python 程序从 2.10 迁移到 3.6。包 scikits.talkbox 是其中的一部分。但是,我无法弄清楚如何使用它了。来自 pip 的安装似乎工作正常,但我无法导入它。以前有人遇到过这个问题吗?

[manjaro@manjaro-pc ~]$ python --version
Python 3.6.0

[manjaro@manjaro-pc ~]$ sudo pip install scikits.talkbox
Collecting scikits.talkbox
  Using cached scikits.talkbox-0.2.5.tar.gz
Requirement already satisfied: numpy in /usr/lib/python3.6/site-packages (from scikits.talkbox)
Installing collected packages: scikits.talkbox
  Running setup.py install for scikits.talkbox ... done
Successfully installed scikits.talkbox-0.2.5

[manjaro@manjaro-pc ~]$ python 
Python 3.6.0 (default, Jan 16 2017, 12:12:55) 
[GCC 6.3.1 20170109] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> import scikits.talkbox
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/scikits/talkbox/__init__.py", line 5, in <module>
    __all__ += tools.__all__
AttributeError: module 'tools' has no attribute '__all__'

你的问题的答案是link 即使我也面临这个问题 我已经切换到 librosa

MFCC 功能还有另一种方式:python_speech_features http://python-speech-features.readthedocs.io/en/latest/