Closed akaszynski closed 2 months ago
We build and bundle VTK ourselves because the glibc version for the VTK package installed through pip is too new for many systems That's probably why this happens.
https://github.com/CadQuery/ocp-build-system/actions/runs/4286749530
I'm not sure of the best way to fix this.
This should be fixed with cadquery-ocp 7.7.2.1. cadquery-vtk is a separate wheel now instead of being embedded. It should not silently overwrite the local vtkmodules, and if it does, you can pip uninstall cadquery-vtk and add the old VTK back.
https://pypi.org/project/cadquery-ocp/
Please reopen if the problem persists.
Issue
Installing cadquery-ocp from PyPI silently overwrites
vtkmodules
, which might conflict with an existing installation ofvtk
. Here's a minimum working example that demonstrates this behavior:Suggested Resolution
Require
vtk
when installingcadquery-ocp
. It seems you'll have to pin the version ofvtk
.