[vtkusers] VTK TKinter widget error: TclError: couldn't load file " libvtkRenderingPythonTkWidgets.so"

Aso agile aso.agile at gmail.com
Mon Apr 15 10:01:20 EDT 2013


The issue was VTK directory (Python-2.7/lib/vtk-5.6) with
libvtkRenderingPythonTkWidgets.so file wasn't in the system PATH. I added
it to the the system environments and the issue was fixed. I have an
ActivePython installation of Python.


On Fri, Apr 12, 2013 at 2:50 PM, Aso agile <aso.agile at gmail.com> wrote:

> Hi all,
>
> My VTK and TKinter codes are working fine sepertaly. When I try to embed
> vtk window in tk n form of Tk widget, I get following error:
> "TclError: couldn't load file " libvtkRenderingPythonTkWidgets.so":
> libvtkRenderingPythonTkWidgets.so: cannot open shared object file: No such
> file or directory"
>
> I check for the this *.so file which is exists in Python-2.7/lib/vtk-5.6
> directory and I added it to my $PATH. I even created a symbolic link of it
> as "libvtkRenderingPythonTkWidgets", as suggested in another thread.
>
> Python:2.7, VTK:5.6.1, TK:8.5, Linux: Redhat 5.5
>
>
> Thanks for your help,
>
>
> Aso
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130415/f8d0a075/attachment.htm>


More information about the vtkusers mailing list