【问题标题】:Unable to install the python module aubio from github, or from pip无法从 github 或 pip 安装 python 模块 aubio
【发布时间】:2016-09-09 17:26:01
【问题描述】:

对于点子:

在我的命令提示符中输入:

C:/Python/Scripts/pip install aubio

本站推荐:

http://aubio.readthedocs.io/en/latest/python_module.html

并收到此消息:

http://imgur.com/a/vZxXg

有人建议我下载一个用于 Python 的 C++ 编译器,但这样做并不能防止错误发生。

所以我尝试通过 github 安装模块。

通过 pip 获取 Github:

我很自然地安装了 Github 并回到了我的命令提示符。

我输入了:

C:/Python/Scripts/pip install git+git://git.aubio.org/git/aubio

当失败时:

C:/Python/Scripts/pip install git+git://git.aubio.org/git/aubio.git

我得到错误:

 Error [WinError 2] The system cannot find the file specified while executing c
ommand git clone -q git://github.com/aubio/aubio.git C:\Users\luke\AppData\Local
\Temp\pip-ornio5sm-build
Cannot find command 'git'

许多其他问题都有关于损坏的设置文件的答案,但我不完全确定如何检查。

谢谢。

【问题讨论】:

标签: python audio module pip


【解决方案1】:

所以这不是完整的答案,但它会帮助将来来到这里的任何人。

我安装了 Github 而不是 git。这就是无法识别 git 命令的原因。

正确安装位置[WINDOWS]是:https://git-for-windows.github.io/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多