[vtkusers] Creating exe with vtkTkWidgets

David Gobbi david.gobbi at gmail.com
Tue Apr 12 11:38:50 EDT 2016


Hi Aude,

It's a tcl module, so it is expected that a dependency search will not find
it.
According to the code in vtkLoadPythonTkWidgets.py, it can be installed
anywhere in python's sys.path or in or in tcl's auto_path.

 - David


On Tue, Apr 12, 2016 at 8:19 AM, CHENET Aude (External) <
Aude.CHENET-ext at galderma.com> wrote:

> Hi all,
>
>
>
> I’m trying to make an executable from a python code which uses vtk 6.3.0
> and TkWidgets.
>
> When I package my application, pyinstaller don’t find the dependence to
> vtkRenderingPythonTkWidgets-6.3.dll. I’ve tried to add the dll into the
> directory where pyinstaller copy all the dll it founds, and that doesn’t
> work.
>
> When I execute the .exe, there is an error ImportError: DLL load failed,
> always about the vtkRenderingPythonTkWidgets’ one.
>
> Does anyone have an idea to solve this problem and create an executable
> embedding vtkTkWidgets?
>
>
>
> Aude
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160412/fa2b9227/attachment.html>


More information about the vtkusers mailing list