【发布时间】:2021-12-26 14:36:41
【问题描述】:
我正在尝试在 Windows 中为 Python 3.10 安装 matplotlib。我正在使用 pip:pip install matplotlib 我已经安装了 NumPy、Cython、Pillow 和其他所需的库。但它显示了这个错误:
error: Failed to download any of the following: ['http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz']. Please download one of these urls and extract it into 'build/' at the top-level of the source repository.
我已经下载了上述库并将其复制到.cache/matplotlib/build,但它不起作用。
有什么想法吗?
【问题讨论】:
-
你是如何安装这些模块的?你运行了哪些命令?
-
pip install matplotlib 编辑:将其添加到问题中,因为我之前没有提到过
-
我明白了。从来没有遇到过这个问题。这是整个错误输出吗?
-
请尝试
pip install --pre matplotlib。最新的稳定版本还不支持 python 3.10(我希望你不是真的指 python 3.1)。
标签: python windows matplotlib pip qhull