簡體   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