- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我的系统中安装了 python 2.7,我需要使用 audiolab 模块。我从以下站点下载:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits.audiolab
当我导入 scikits.audiolab 时,出现以下错误:
Traceback (most recent call last):
File "C:/Python27/trystuff", line 1, in <module>
from scikits.audiolab import formatinfo as format
File "C:\Python27\lib\site-packages\scikits\__init__.py", line 1, in <module>
__import__('pkg_resources').declare_namespace(__name__)
ImportError: No module named pkg_resources
我该怎么办?
最佳答案
此处有适用于 python 2.7 的 scikits.audiolab(以及许多其他内容)的 Windows 二进制版本:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits.audiolab
audiolab 还需要 libsndfile。该链接就在那个页面上,但我也会把它放在这里,因为 libsndfile 很棒:
http://www.mega-nerd.com/libsndfile/#Download
PS:您需要将 libsndfile-1.dll 放在 python 可以找到的地方。如果您不介意浪费一点点磁盘空间,您可以将它的副本放在 Python27\Lib\site-packages\scikits\audiolab\pysndfile 目录中。
关于python - 用于 python 2.7 的 audiolab,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8007201/
我正在使用 mint Linux Mint 13 maya (linux 3.2.0-23-generic x86-64) 我正在尝试安装 scikits.audiolab 以执行一些音频信号处理。我
我正在尝试使用 pip 安装 scikits.audiolab。我读了this post ,但是,看起来该用户的问题是他们没有安装 numpy。我可以通过卸载 numpy 并运行 pip instal
我需要为一个研究项目安装 Python 模块 audiolab,虽然我已经设法安装它并让模块导入 Python shell,但它在调用模块中最基本的函数之一时返回错误, 波形读取()。 我主要使用Py
我从这个来源安装了 audiolab: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits.audiolab 那些是我能够找到的唯一适用于 pytho
我的系统中安装了 python 2.7,我需要使用 audiolab 模块。我从以下站点下载:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits.au
我一直在使用 Audiolab过去导入声音文件,效果很好。然而: 它不支持某些格式,例如 mp3,因为底层的 libsndfile refuses to support them 它 doesn't
我目前正在尝试在 Windows 10 上为 Python 3.5.4 安装 scikits.audiolab 0.11.0,它需要来自 http://www.mega-nerd.com/libsnd
尝试在 Mac 上安装 scikits.audiolab-0.11.0,它需要 libsndfile:http://www.mega-nerd.com/libsndfile/ .我确实使用 libsn
首先,这是我关于 SO 的第一个问题 - 如果我犯了任何错误,请不要对我进行 tar 和羽毛处理;) 我有一个简单的测试应用程序,可以在 Delphi XE6 中使用 Mitov AudioLab 组
好的,所以我想用 Python 进行一些基本的信号处理,并找到了这个名为 scikits.audiolab 的很棒的库。 在任何地方都找不到 PPA。那好吧。我想我可以简单地将它安装在我的 Ubunt
我正在尝试使用 pip 工具安装 scikits.audiolab。 Pip 似乎从 scikits.audiolab 源目录中运行命令 python setup.py egg_info。当它这样做时
我是一名优秀的程序员,十分优秀!