enthought / enthought/mayavi

Mayavi installation issue in Mac OSX through Homebrew and pip

Open
#473 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

I'm trying to install and use mayavi in Mac OSX through homebrew and pip. I have installed python2, qt5, pyqt5 and vtk 7.1 through homebrew and changed path to make Homebrew python the default one. Then, when I try to install mayavi through pip. When i run `mayavi2` in command line, I get the following error. I dont see a `TraitsBackendWx` or `TraitsBackendQt` in `pip search`. How to resolve this error?

```
Traceback (most recent call last):
File "/usr/local/bin/mayavi2", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/mayavi/scripts/mayavi2.py", line 647, in main
'''
ImportError: Could not import backend for traits
________________________________________________________________________________
Make sure that you have either the TraitsBackendWx or the TraitsBackendQt
projects installed. If you installed Mayavi with easy_install, try easy_install
. easy_install Mayavi[app] will also work.

If you performed a source checkout, be sure to run 'python setup.py install'
in Traits, TraitsGUI, and the Traits backend of your choice.

Also make sure that either wxPython or PyQT is installed.
wxPython: http://www.wxpython.org/
PyQT: http://www.riverbankcomputing.co.uk/software/pyqt/intro
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.