This is not a gitlab issue as I have the same problem with I try to load vtk directly from docker.
I guess some dll are missing in the docker image but it is difficult to investigate. Do you have any idea to solve this issue or to find the missing dll ?
The name of the missing DLL would help. Unfortunately, Python is tight-lipped about it (though I think 3.10 improved this reporting). Does importing any VTK module work (vtkCommonCore would be the main one to try)?
Thanks to the docker python folks I have solved my import error issue. Windows docker image (and likely linux images also) are missing graphic card drivers. These drivers come with openGL libraries that are required by vtk libraries.
It is then necessary to install some openGL libraries to solve the issue (mesa openGL is working fine)