Skip to content

unable to run vtk within windowsservercore-ltsc2022⁠ #956

@mutricyl

Description

@mutricyl

I try to run a python project using vtk within a python:windowsservercore-ltsc2022⁠ docker image (actually these are gitlab CI/CD tasks for this project).
Unfortunately I am not able to import vtk. It always fail with the following error:

>>> import vtk
ImportError: DLL load failed while importing vtkWebCore: The specified module could not be found.

It seams that python can not load vtk specific dll files (located in site-packages\vtk.lib). Of course doing the same on a clean install outside of docker is working perfectly so I wonder if :

  • you know a difference within windowsservercore-ltsc2022⁠ docker image that could explains this issue ?
  • you have tricks to debug dll imports within docker images ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions