MayAVI install on Python 3.6 [duplicate]

2019-06-01 18:03发布

问题:

This question already has an answer here:

  • Get mayavi working with Python 3 4 answers

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

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!).

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.

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

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

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

Thank you all in advance,

回答1:

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