<div dir="ltr">The issue was VTK directory (<span style="color:rgb(0,0,0);font-family:Verdana,Georgia,serif;font-size:14px">Python-2.7/lib/</span><span class="" style="font-family:Verdana,Georgia,serif;font-size:14px">vtk</span><span style="color:rgb(0,0,0);font-family:Verdana,Georgia,serif;font-size:14px">-5.6) </span>with <span style="font-family:Verdana,Georgia,serif;font-size:14px">libvtkRenderingPythonTkWidgets</span><span style="font-family:Verdana,Georgia,serif;font-size:14px">.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.</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 12, 2013 at 2:50 PM, Aso agile <span dir="ltr"><<a href="mailto:aso.agile@gmail.com" target="_blank">aso.agile@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi all,<div><br></div><div>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:</div><div>"<span style="font-size:14px;font-family:Verdana,Georgia,serif">TclError: couldn't load file " libvtkRenderingPythonTkWidgets.so": libvtkRenderingPythonTkWidgets.so: cannot open shared object file: No such file or directory"</span></div>
<div><span style="font-size:14px;font-family:Verdana,Georgia,serif"><br></span></div><div><span style="font-size:14px;font-family:Verdana,Georgia,serif">I check for the this *.so file which is exists in </span><font color="#000000" face="Verdana, Georgia, serif"><span style="font-size:14px">Python-2.7/lib/vtk-5.6 directory and I added it to my $PATH. I even created a symbolic link of it as "</span></font><span style="font-size:14px;font-family:Verdana,Georgia,serif">libvtkRenderingPythonTkWidgets", as suggested in another thread.</span></div>
<div><span style="font-size:14px;font-family:Verdana,Georgia,serif"><br></span></div><div><span style="font-size:14px;font-family:Verdana,Georgia,serif">Python:2.7, VTK:5.6.1, TK:8.5, Linux: Redhat 5.5</span></div>
<br style="font-size:14px;font-family:Verdana,Georgia,serif"><div><br></div><div>Thanks for your help,</div><div><br></div><div><br></div><div>Aso</div></div>
</blockquote></div><br></div>