NumPy 1.21.2 可能还不支持 Python 3.10 [英] NumPy 1.21.2 may not yet support Python 3.10

查看:196
本文介绍了NumPy 1.21.2 可能还不支持 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.whl".)

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆