Open loeiten opened 5 years ago
Basically, it tries to install mayavi fails, then gets numpy and then succeeds building mayavi, so that seems like a red-herring. Does Mayavi work after this?
For my purposes it seems to work. However, due to display issues (I'm testing through a container) I cannot fully test whether it works or not. Running
from xvfbwrapper import Xvfb
vdisplay = Xvfb(width=1920, height=1080)
vdisplay.start()
from mayavi import mlab
mlab.options.offscreen = True
s = mlab.test_plot3d()
Gives the error
/usr/local/lib/python3.6/dist-packages/traits/etsconfig/etsconfig.py:420: UserWarning: Environment variable "HOME" not set, setting home directory to /tmp
% (environment_variable, parent_directory)
ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 445
vtkXOpenGLRenderWindow (0x2a3db40): bad X server connection. DISPLAY=:961343446. Aborting.
If you have another way of testing if it works, I'll gladly help :)
As with #657, I'm trying to add Mayavi to a package. However, when pip installing my package I get a different error when wheel is being built for collected packages
I have
numpy
as a dependency as shown in the trace below. What confuses me is that it appears that the build completes successfully.