[Insight-users] WrapITK instal troubles

Vincent Page vpage at univ-ag.fr
Thu Mar 30 08:52:16 EST 2006


Hi,

as the solution of my previous problem was to install WrapITK,
I had a try :
ccmake ; make ; make install.

Then back to my programme.
./test_regionGrow.py

gives the following :
--------------------------------------------------
Traceback (most recent call last):
  File "./test_regionGrow.py", line 7, in ?
    import itk
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itk.py", line 19, in ?
    itkBase.LoadModule(module, globals())
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
53, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
53, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
53, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
61, in LoadModule
    if not swigModuleName in sys.modules: module = 
loader.load(swigModuleName)
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
162, in load
    return imp.load_module(name, fp, pathname, description)
  File 
"/usr/local/lib/InsightToolkit/WrapITK/Python-SWIG/VXLNumericsPython.py", 
line 5, in ?
    import _VXLNumericsPython
ImportError: libitkvnl.so: cannot open shared object file: No such file 
or directory
--------------------------------------------------

I can find libitkvnl.so in
/usr/local/lib/InsightToolkit/libitkvnl.so

I played a little with some environnement variable
so that now I have
PYTHONPATH=/usr/local/lib/InsightToolkit/python/:/usr/local/lib/InsightToolkit/
LD_LIBRARY_PATH=/usr/local/lib/InsightToolkit/WrapITK/Python-SWIG

Someone (Gaetan ) ?

Sincerely,
    Vincent Pagé.






More information about the Insight-users mailing list