我想使用这个 功能,我正在尝试使用 pip 安装橡皮筋,如下所示:pip install Rubberband
I want to use this function, and I'm trying to install rubberband using pip as the following: pip install rubberband
但是,它引发了以下错误:橡皮筋的构建轮失败"
But, it raises the following error: "Failed building wheel for rubberband"
而且我无法在我的项目中使用 Python 3.5.那么,如何安装橡皮筋?
And I can't use Python 3.5 in my project. So, how to install rubberband?
附言我的操作系统是 Windows 10,我有 python 3.6.
P.S. My OS is Windows 10, and I have python 3.6 on it.
推荐答案您指向的文档是项目的文档 pyrubberband,而不是 rubberband.所以用 pip install pyrubberband 安装它.
The docs you pointed to are the docs for the project pyrubberband, not rubberband. So install it with pip install pyrubberband.
至于 rubberband:你可能需要一个 C/C++ 编译器来安装它.
As for rubberband: you probably need a C/C++ compiler to install it.
更新.pyrubberband 是 rubberband 的 Python 包装器.您需要安装它,请参阅breakfastquay/rubberband/index.html
Upd. pyrubberband is a Python wrapper for rubberband. You need to install it, see breakfastquay/rubberband/index.html
更多推荐
Python 3.6:如何安装橡皮筋?
发布评论