首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Python3的scikits.talkbox有什么问题吗?

Python3的scikits.talkbox有什么问题吗?
EN

Stack Overflow用户
提问于 2017-06-05 17:26:34
回答 0查看 3K关注 0票数 1

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

代码语言:javascript
复制
[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__'
EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44365733

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档