[Pythonmac-SIG] Python VTK shared libraries

Vladimir Shapovalov vshapovalov at chem.ucsb.edu
Thu Jun 23 00:01:30 CEST 2005


Recently I had to install Python interface for VTK. One of the  
problems I ran into was that the shared libraries built for VTK would  
not be seen by Python whatever path I put them into. The only way I  
found to make them visible was to make links in the site-pckages/ 
vtk_python directory. In addition, the link to  
libvtkRenderingPythonTkWidgets.dylib had to be named  
libvtkRenderingPythonTkWidgets.so to make it work (otherwise python  
complained it could not find the .so file).

Is there a more graceful solution to keeping the libraries in a more  
appropriate place and still having python find them?

Vladimir


More information about the Pythonmac-SIG mailing list