<div dir="ltr">Hi Aude,<div><br></div><div>This means that your vtk package was built without the Tk components.</div><div>I don't know of any binary packages that provide the DLL that you need,</div><div>you might have to build your own vtk with VTK_Group_Tk:BOOL=ON.</div><div><br></div><div> - David</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 15, 2016 at 8:13 AM, Aude <span dir="ltr"><<a href="mailto:aude.chenet-ext@galderma.com" target="_blank">aude.chenet-ext@galderma.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br>
<br>
I’m trying to use vtk with Python 27. I’ve installed vtk 6.2 with pip.<br>
When I execute OrthogonalPlanesWithTkPhoto.py example, I’ve an error :<br>
Traceback (most recent call last):<br>
  File "C:\Users\chenet-<br>
ext\workspace\OCT\src\OrthogonalPlanesWithTkPhoto.py", line 156, in<br>
<module><br>
    S = SampleViewer()<br>
  File "C:\Users\chenet-<br>
ext\workspace\OCT\src\OrthogonalPlanesWithTkPhoto.py", line 57, in<br>
__init__<br>
    tphoto = self.tphoto = vtkTkPhotoImage ()<br>
  File "C:\Python27\lib\site-packages\vtk\tk\vtkTkPhotoImage.py", line 20,<br>
in __init__<br>
    vtkLoadPythonTkWidgets ( <a href="http://self.tk" rel="noreferrer" target="_blank">self.tk</a> )<br>
  File "C:\Python27\lib\site-packages\vtk\tk\vtkLoadPythonTkWidgets.py",<br>
line 81, in vtkLoadPythonTkWidgets<br>
    interp.call('load', filename, pkgname)<br>
_tkinter.TclError: couldn't load library "vtkRenderingPythonTkWidgets-<br>
6.2.dll": this library or a dependent library could not be found in<br>
library path<br>
<br>
I’ve made a research on my computer and I can’t find<br>
vtkRenderingPythonTkWidgets.<br>
Can someone help me to use this example?<br>
<br>
Aude<br></blockquote></div></div></div></div>