mcberk / wrapitk

Automatically exported from code.google.com/p/wrapitk
0 stars 0 forks source link

Debian Lenny - python no attributes error #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I open up the python shell and I try the following.

Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import InsightToolkit as itk
>>> median = itk.MedianImageFilter.IUS3IUS3.New()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'MedianImageFilter'

Also, this may be relevant.
>>>dir(itk)
['PySwigIterator', 'SwigPyIterator', '__builtins__', '__doc__', '__file__', 
'__name__', 'cerr', 'cin', 'clog', 'cout', 'cvar', 'endl', 'ends', 'flush', 
'ios', 'ios_base', 'ios_base_sync_with_stdio', 'ios_base_xalloc', 'iostream', 
'istream', 'istringstream', 'list', 'map', 'ostream', 'ostringstream', 'set', 
'streambuf', 'string', 'stringstream', 'swig', 'vector']

Debian Lenny on an x86 machine I'm using the latest version from the wrapitk 
repository as of Oct26th. Everything was installed according to directions on 
the binary page.

Original issue reported on code.google.com by BrianBor...@gmail.com on 27 Oct 2010 at 12:12