繁体   English   中英

将 Mayavi 安装到 Anaconda (Windows) 时出现问题

[英]Problems installing Mayavi to Anaconda (Windows)

我正在使用 Anaconda 并想安装 mayavi 模块。 但是不管我使用 conda 还是 pip 命令,它都不起作用。 如果我使用 conda 命令,我会得到这个:

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - mayavi -> python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

如果我使用 pip 命令,我会得到这个,但没有任何反应:

Building wheels for collected packages: mayavi
  Building wheel for mayavi (setup.py) ... \

我知道其他人在安装 mayavi 时也遇到了一些问题,但直到现在还没有解决方案对我有用。 如果有人有一个可以帮助的想法,在此先非常感谢!

也许这会帮助你。 您可以在终端中将软件包安装为 .whl

转到此站点:链接并搜索 (Strg + F) 为您的包 (mayavi)。 单击包含您的 Python 版本的链接。 该文件将自动下载。 然后输入你的终端

pip install <path_of_downloaded_file>

.whl 文件的名称例如:

mayavi‑4.7.1+vtk82‑cp<your_version>‑cp<your_version>‑win_amd64.whl

注意:仅适用于 Windows

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM