在用conda解决环境问题后,无法安装mayavi



我在尝试使用conda安装mayavi时遇到了一些问题。首先,它被卡在";解决环境";然后我得到了这个

(base) usr@pc:~$  conda install -c anaconda mayavi 
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: / 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                          
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- mayavi -> python[version='>=2.7,<2.8.0a0|>=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.

我对这条消息有点困惑,它是什么意思;如果python在链的最左边"?我还修改了我的PATH,我使用的是python 3.8,安装不应该与最新版本一起使用吗?

看起来anaconda频道上的这些包已经一年多没有更新了,但conda-forge频道有一些更新的版本,包括一些Python 3.8的版本。你可以试试

conda install -c anaconda  -c conda-forge mayavi

(使用正确的conda-forge链接编辑(

最新更新