[Insight-users] failure to import Insighttoolkit in pythn

anirudh vij anirudhvij at gmail.com
Tue Apr 3 14:29:55 EDT 2007

i'll post my console output.please tell me what the problem could be.

 /home/hackmanbash-3.1# python
Python 2.4.4 (#2, Mar 27 2007, 14:41:43)
[GCC 4.0.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import InsightToolkit
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/InsightToolkit/python/InsightToolkit.py", line 1, in ?
    from itkalgorithms import *
  File "/usr/lib/InsightToolkit/python/itkalgorithms.py", line 1, in ?
    from itknumerics import *
  File "/usr/lib/InsightToolkit/python/itknumerics.py", line 1, in ?
    from itkcommon import *
  File "/usr/lib/InsightToolkit/python/itkcommon.py", line 1, in ?
    from vxlnumerics import *
  File "/usr/lib/InsightToolkit/python/vxlnumerics.py", line 4, in ?
    from VXLNumericsPython import *
  File "VXLNumericsPython.py", line 5, in ?
    import _VXLNumericsPython
ImportError: libitkvnl.so.3.0: cannot open shared object file: No such file
or directory
 /home/hackmanbash-3.1# exit
 /home/hackmansh-3.1$ locate libitkvnl.so.3.0

there is a .pth file in python's site-packages directory that has
/usr/lib/InsightToolkit/python on one line.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070403/291bfa22/attachment.htm

More information about the Insight-users mailing list