enthought / enthought/mayavi

mayavi run error

Open
#952 6 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

hello, i find a main error when running based on mayavi:

```
ImportError: Could not import backend for traitsui. Make sure you
have a suitable UI toolkit like PyQt/PySide or wxPython
```

I find this error many times. it is so crazy!!!

my installization process is

```
conda create -n vis python=3.7
pip install vtk==8.1.2
pip install PyQt5
pip install mayavi
```

i find
import mayavi # it is ok
from mayavi import mlab # it is ok

mlab.figure() # it is not ok -----ImportError: Could not import backend for traitsui. Make sure you have a suitable UI toolkit like
PyQt/PySide or wxPython

I try the PySide or wxPython, it's not ok also.

Can you help me find the solution?

Thanks~

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.