Python 3.6:如何安装橡皮筋?

编程入门 行业动态 更新时间:2024-10-28 04:15:35
本文介绍了Python 3.6:如何安装橡皮筋?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想使用这个 功能,我正在尝试使用 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:如何安装橡皮筋?

本文发布于:2023-06-08 02:59:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/572861.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:橡皮筋   Python

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!