flat-scientist-26157
01/29/2024, 10:46 PMvtk==9.3.0
I then run
pants export --resolve=python-default
In the exported venv import vtk fails with
ImportError: Initialization failed for vtkWebCore, not compatible with vtkmodules.vtkCommonCore
But if I pip uninstall vtk then pip install vtk==9.3.0 then import vtk works fine.
So it seems that pants isn't installing vtk into the exported venv correctly. Is there anything I could try to debug this further?
Thanks!careful-address-89803
01/30/2024, 5:55 AM[python].interpreter_constraints = ["==3.9.*"] . Maybe try playing with those?
If you're using lockfiles, you can double-check that the requirements and platform information looks right. You might also want to double-check that no other requirements have an extra, like vtk[web]flat-scientist-26157
01/30/2024, 7:44 PM