NumPy 1.21.2 可能还不支持 Python 3.10 [英] NumPy 1.21.2 may not yet support Python 3.10
问题描述
Python 3.10 已发布,当我尝试安装 NumPy
时,它给了我以下信息:NumPy 1.21.2 可能尚不支持 Python 3.10.
.我该怎么办?
Python 3.10 is released and when I try to install NumPy
it gives me this: NumPy 1.21.2 may not yet support Python 3.10.
. what should I do?
推荐答案
如果在 Windows 上,numpy 尚未发布 Python 3.10 的预编译轮.但是,您可以尝试 https://www.lfd.uci 上提供的非官方轮子.edu/~gohlke/pythonlibs/#numpy .具体找
If on Windows, numpy has not yet released a precompiled wheel for Python 3.10. However you can try the unofficial wheels available at https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy . Specifically look for
numpy‑1.21.2+mkl‑cp310‑cp310‑win_amd64.whl
或numpy‑1.21.2+mkl‑cp310‑cp310‑win32.whl
取决于您的系统架构.
下载文件后,进入下载目录并运行pip install
.)
After downloading the file go to the download directory and run pip install "<filename>.whl"
.)
(我亲自安装了 numpy‑1.21.2+mkl‑cp310‑cp310‑win_amd64.whl
并且对我有用.)
(I have personally installed numpy‑1.21.2+mkl‑cp310‑cp310‑win_amd64.whl
and it worked for me.)
这篇关于NumPy 1.21.2 可能还不支持 Python 3.10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!