[vtkusers] Vtk Python Widgets

Elvis Stansvik elvis.stansvik at orexplore.com
Fri Feb 19 01:54:31 EST 2016


2016-02-15 18:44 GMT+01:00 Elvis Stansvik <elvis.stansvik at orexplore.com>:

> Den 15 feb 2016 4:30 em skrev "Aude" <aude.chenet-ext at galderma.com>:
> >
> > Hello,
> >
> > I’m trying to use vtk with Python 27. I’ve installed vtk 6.2 with pip.
>
> Wait, is VTK available on PyPI? (!). I had been looking for that but
> couldn't find it. What's the name of the package?
>
Aude, I'm still interested in which pip package you installed. I am in no
need of TkWidgets, so would be interested in using this package.

Elvis


> Elvis
>
> > When I execute OrthogonalPlanesWithTkPhoto.py example, I’ve an error :
> > Traceback (most recent call last):
> >   File "C:\Users\chenet-
> > ext\workspace\OCT\src\OrthogonalPlanesWithTkPhoto.py", line 156, in
> > <module>
> >     S = SampleViewer()
> >   File "C:\Users\chenet-
> > ext\workspace\OCT\src\OrthogonalPlanesWithTkPhoto.py", line 57, in
> > __init__
> >     tphoto = self.tphoto = vtkTkPhotoImage ()
> >   File "C:\Python27\lib\site-packages\vtk\tk\vtkTkPhotoImage.py", line
> 20,
> > in __init__
> >     vtkLoadPythonTkWidgets ( self.tk )
> >   File "C:\Python27\lib\site-packages\vtk\tk\vtkLoadPythonTkWidgets.py",
> > line 81, in vtkLoadPythonTkWidgets
> >     interp.call('load', filename, pkgname)
> > _tkinter.TclError: couldn't load library "vtkRenderingPythonTkWidgets-
> > 6.2.dll": this library or a dependent library could not be found in
> > library path
> >
> > I’ve made a research on my computer and I can’t find
> > vtkRenderingPythonTkWidgets.
> > Can someone help me to use this example?
> >
> > Aude
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Search the list archives at: http://markmail.org/search/?q=vtkusers
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160219/95de20dc/attachment.html>


More information about the vtkusers mailing list