Open Cadair opened 6 years ago
I had the same issue. Check out #81 and vtkiorg/vtki#155 for how I solved this on my end.
I should note that this is only a workaround for end-users like us - it is not a native vtk solution and the maintainers of this repository should not recognize it as such.
I am trying to test out the offscreen rendering using the osmesa variant of vtk. This is motivated by enthought/mayavi#477.
Environment (
conda list
): I created a clean env with:conda create -n mayavi_osmesa -c conda-forge mesalib vtk python=3.6
which gives me the following env:
Details about
conda
and system (conda info
):I then try and import the
vtkOSOpenGLRenderWindow
offscreen renderer (or run the offscreen render script in the first post on enthought/mayavi#477) and it fails to import the renderer or issues a no X sever error.