本文介绍了MayAVI在Python 3.6上安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常简单的问题:如何在Python3.6上安装Mayavi?

I have a very straightforward question: How can I install Mayavi on Python3.6?

我已经尝试了所有方法,例如以及许多其他功能,但没有任何作用.我可以导入模块,但总是收到相同的错误消息(我没有安装PyQT或wxPython,但它们已安装 !).

I have already tried EVERYTHING, like this, this, and many many others, but nothing works. I can import the module, but I always get the same error message (that I don't have either PyQT or wxPython installed, but they are installed!).

现在,每当我尝试安装Mayavi或缺失"软件包时,都会收到相同的错误消息:

Now, whenever I try to install Mayavi or the "missing" packages, I get the same error messages:

UnsatisfiableError: The following specifications were found to be in conflict:
  - mayavi -> apptools 4.2.0 -> python 2.7*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

但是,如果我尝试卸载Mayavi,则会收到以下消息之王:

But if I try to uninstall Mayavi, I get this king of message:

/anaconda3/lib/python3.6/site-packages/mayavi/tests/data/texThres2.vtk

关于如何解决这个问题的任何想法?我应该放弃使用Mayavi(有替代品吗?)

Any idea on how can I work this out? Should I give up using Mayavi (is there an replacement?)

谢谢大家

推荐答案

这是一个已知问题,请在github上查找:

This is a known issue, look it up on github:

https://github.com/enthought/mayavi/issues/496

https://github.com/conda-forge/mayavi-feedstock /issues/15

这篇关于MayAVI在Python 3.6上安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-09 10:53