Replies: 1 comment 6 replies
-
I think trying to maintain a customized version of pyvista will be a lot of work and pain in the long run. Does this recommendation work for you? https://discourse.vtk.org/t/status-update-vtk-python-wheels/11212 pip install pyvista # use local cloned copy if you need it
pip uninstall vtk -y
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa Unfortunately, this requires installing vtk, uninstalling it, then installing vtk-osmesa. This problem occurs, in my view, because Python does not allow having a default optional dependency. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am building a wheel for my python package and would like to include
pyvista
as a dependency. However, this wheel is supposed to be running on a headless environment. So instead ofvtk
as its dependency, I would like to usevtk_osmesa
instead.My current approach is to
pyproject.toml
pyvista_osmesa
packagepyvista_osmesa
as a dependency.My questions in this board are:
pyvista
as a dependency and usevtk_osmesa
instead?Beta Was this translation helpful? Give feedback.
All reactions