Reputation: 668
I had installed Mayavi package in Anaconda Python on my Windows 7 machine. It was working until today. Today, it has stopped working, and crashes my Python Jupyter notebook. For example, the following simple script causes "Python has stopped working" message and Python kernel death:
import numpy as np
import mayavi
from mayavi import mlab
x, y, z = np.ogrid[-10:10:20j, -10:10:20j, -10:10:20j]
s = np.sin(x*y*z)/(x*y*z)
sf = mlab.pipeline.scalar_field(s)
The versions of Anaconda, Python, and Mayavi are 4.1.1, 3.5.2, and 4.5. Additionally the versions of numpy, traits, and vtk (required packages for Mayavi) 1.11.1, 4.6, and 7.0.0. I tried updating Mayavi and all these packages, and that did not resolve the issue. Can someone please help?
Upvotes: 1
Views: 1830
Reputation: 668
Apparently the issue is that Mayavi display does not work over a remote desktop connection, which is what I was working through yesterday! I have not clue why, and am curious to know if someone has an answer. I'm logged into the machine directly today, and it works.
Upvotes: 3