[Insight-users] connectpipelines in python

Charl P. Botha c.p.botha at ewi.tudelft.nl
05 Apr 2004 13:54:48 +0200


On Mon, 2004-04-05 at 13:28, xujf wrote:
> Hi,Charl P.Botha:
>    Thanks very much for your help and I am sorry to disturb you once again.
>    I download the InsightApplication and find the folder ConnectVTKITK in it.when I open the ConnectVTKITK.py,only a few sentences in the file:
> 
> from InsightToolkit import *
> from vtk import *
> 
> __itk_import_data__ = itkbase.preimport()
> from ConnectVTKITKPython import *
> itkbase.postimport(__itk_import_data__)
> 
> 
> I try to add "form ConnectVTKITKPython import *" in my program.
> however,error is found: No module " ConnectVTKITKPython " is found.
> what\'s wrong ?

You have to build this module first.  Configure CMake at the top-level
of InsightApplications and then build ConnectVTKITK.  Make sure the
resultant modules are in your PYTHONPATH and LD_LIBRARY_PATH (PATH for
windows).

Good luck,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/