[Insight-users] wrapITK problems in python

Andre Bongers a.bongers at mediri.com
Thu Jun 17 06:48:12 EDT 2010


Hi,

after some time i wanted to check out wrapITK for python again but have 
some problems...

I did the following:

I downloaded the WrapITK 0.3.0 binaries for Windows and installed them.
I downloaded the InsightToolkit-3.14 binaries and installed them.

I set my environment variables to 
...wherethebinariesare\InsightToolkit-3.14\bin
I set my path to the py files by
sys.path.append("...wherethepyfilesare\\Insight_WrapITK 0.3.0\\lib")

Then I can do

import itk

without problems.

However, when I try

itk.Image.UC3

I get the error

AttributeError: 'module' object has no attribute 'swig'


What am I doing wrong ???

Thanks for some help!


Andre





-------------- next part --------------
A non-text attachment was scrubbed...
Name: a_bongers.vcf
Type: text/x-vcard
Size: 287 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100617/b0708e92/attachment.vcf>


More information about the Insight-users mailing list