ModuleNotFoundError: No module named 'tvtk.custom.light

Viewed 20

I'm trying to run simple python code.

import qutip
b = qutip.Bloch()
b3d = qutip.Bloch3d()
b.make_sphere()

but have

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
  File "tvtk_classes/tvtk_helper.py", line 22, in get_module
ModuleNotFoundError: No module named 'tvtk.custom.light'

During handling of the above exception, another exception occurred:

RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
0 Answers
Related