无法在Cgywin安装Scipy

发布于 2025-02-06 07:31:53 字数 812 浏览 0 评论 0原文

我是Cygwin和Python的新手,并尝试在Cygwin上安装Scipy,并使用以下命令:

PIP安装Scipy-1.8.1-Cp38-CP38-WIN_AMD64.WHL

但它说错误:Scipy-1.8。 1-CP38-CP38-WIN_AMD64.WHL在此平台上不是支持的车轮。

我看到了各种帖子,他们说我们需要numpy+mkl来安装scipy,所以我尝试安装 numpy-1.22.4+vanilla-cp38-cp38-win_amd64.whl,但它也表示不支持此特定的轮子。

我的python是64位,版本为3.8.12。

我非常困惑,并且有以下问题:

  1. 我试图找到使用 import Pip支持的标签的版本; print(pip.pep425tags.get_supported()),但它给了我attributeError:module'pip'没有属性'pep425tags'。我试图更新PIP,但徒劳无功。如何找出受支持的版本?
  2. 安装Scipy的确切过程是什么?
  3. Internet上的许多答案都使用Scipy-0.15.1-CP33- NONE -win_amd64.whl等文件,但我无法在其中找到任何带有“无”的文件。我发现的文件就像是“ Scipy -1.8.1 -cp38 − cp38” −win_amd64.whl'的文件。您能帮我找到它吗?
  4. 我已经使用PIP Install Cpython命令安装了CPYTHON。我真的需要吗?

如果可以的话,请帮助我。

谢谢!

I am new to cygwin and python and trying to install scipy on Cygwin with the following command:

pip install SciPy-1.8.1-cp38-cp38-win_amd64.whl

But it says ERROR: SciPy-1.8.1-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.

I saw various posts and they say that we need numpy+mkl for installing scipy so I tried to install
numpy-1.22.4+vanilla-cp38-cp38-win_amd64.whl but it also says that this particular wheel is not supported.

My Python is 64 bits and the version is 3.8.12.

I am very confused and have the following questions:

  1. I tried to find the version of the tags that my pip supports using import pip; print(pip.pep425tags.get_supported()) but it gave me AttributeError: module 'pip' has no attribute 'pep425tags'. I tried to update pip but in vain. How to find out the supported versions?
  2. What is the exact procedure to install scipy?
  3. Many answers on the internet use files like scipy-0.15.1-cp33-none-win_amd64.whl but I am not able to find any file with "none" in it. The files that I find are like 'SciPy‑1.8.1‑cp38‑cp38‑win_amd64.whl' in format. Can you please help me to find it out?
  4. I have installed cpython using pip install cPython command. Do I really need it?

Please help me if you can.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

肩上的翅膀 2025-02-13 07:31:53

只需将软件包重命名为以下内​​容:

SciPy-1.8.1-cp38-none-any.whl

然后安装:

python -m pip install SciPy-1.8.1-cp38-none-any.whl

just rename the package to the following:

SciPy-1.8.1-cp38-none-any.whl

then install with:

python -m pip install SciPy-1.8.1-cp38-none-any.whl
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文