[ITK] Fwd: ITK and python wrap problem

gowith king gowithking at googlemail.com
Fri Aug 22 10:06:42 EDT 2014


---------- Forwarded message ----------
From: gowith king <gowithking at googlemail.com>
Date: Fri, Aug 22, 2014 at 1:32 PM
Subject: ITK and python wrap problem
To: community at itk.org


Dear ITK friends
      I am not sure this is an appropriate place to issue my problem in the
wrapping  process:
      I followed the instruction of '
http://www.itk.org/Wiki/ITK_Release_4/Wrapping/WrapITK_Installation' to
finish the compiling and installing process. it look good so far except a
warning of mismatching library version, I think it could be ignored.
      Then I tried one line for test :
>>> import itk
>>> inputimage=itk.Image[itk.UC,3]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/ITK-4.7/Python/itkLazy.py", line 42, in
__getattribute__
    itkBase.LoadModule(module, namespace)
  File "/usr/local/lib/ITK-4.7/Python/itkBase.py", line 108, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/ITK-4.7/Python/itkBase.py", line 108, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/ITK-4.7/Python/itkBase.py", line 108, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/ITK-4.7/Python/itkBase.py", line 108, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/ITK-4.7/Python/itkBase.py", line 118, in LoadModule
    module = loader.load(swigModuleName)
  File "/usr/local/lib/ITK-4.7/Python/itkBase.py", line 224, in load
    return imp.load_module(name, fp, pathname, description)
  File "/usr/local/lib/ITK-4.7/Python/ITKCommonPython.py", line 32, in
<module>
    _ITKCommonPython = swig_import_helper()
  File "/usr/local/lib/ITK-4.7/Python/ITKCommonPython.py", line 28, in
swig_import_helper
    _mod = imp.load_module('_ITKCommonPython', fp, pathname, description)
ImportError: libitkvnl_algo-4.7.so.1: cannot open shared object file: No
such file or directory

I got totally lost for this, what should I do to fix this?
Any suggestion would be appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140822/a57175ad/attachment-0001.html>


More information about the Community mailing list