PIP packages with EGL?

I am using VTK offscreen rendering with EGL via Files :: Anaconda.org (e.g. linux-64/vtk-9.2.2-egl_py38h6ab77d2_4.tar.bz2), which works great.

However sometimes I would also like to set this up via pip, however AFAIK vtk · PyPI does not seem to include EGL - are there any plans to push the same packages also to pip?

As a background: some things are just a pain to setup with Conda because of the broken dependency solver (e.g. it complians SimpleITK would be “conflicting” with many other packages, which is not actually true) and the new “mamba” solver is still in development. I never saw such issues with pip, so it would be great to get VTK with EGL this way too. For now I am working around with different python envs, which is a poor mans solution …

@jcfr @ben.boeckel your are the maintainers of vtk · PyPI, right? Any plans for a pip release including EGL? Thanks!

It’s been discussed, yes. Not on a schedule AFAIK though.

Cc: @Sebastien_Jourdain @banesullivan

1 Like

Also, not sure about a PyPI release; it might have to be on a Kitware repo because of symbol conflict problems (AFAIK, we’d have to ship a Mesa build which I imagine crashes and burns if some other package tries to load a “real” OpenGL).

1 Like

Ping me in about 3 months and I think we may have something worked out for this.

In the meantime, I have been building OSMesa and EGL wheel variants manually. I have some hosted here and some (work in progress) scripts to build them here. These are very unofficial and are just what I’m using right now

1 Like