[Insight-users] SimpleITK: Fatal Python error on import

Andriy Fedorov fedorov at bwh.harvard.edu
Wed Oct 19 17:43:06 EDT 2011


Thanks, Matt. An issue has been created here:
https://itk.icts.uiowa.edu/jira/browse/SIMPLEITK-198

On Wed, Oct 19, 2011 at 12:52 PM, Matt McCormick
<matt.mccormick at kitware.com> wrote:
> Hi Andriy,
>
> Thanks for the report.  An issue can be created here:
>
> https://itk.icts.uiowa.edu/jira/browse/SIMPLEITK
>
> Thanks,
> Matt
>
>
>
> On Wed, Oct 19, 2011 at 12:39 PM, Andriy Fedorov
> <fedorov at bwh.harvard.edu> wrote:
>> Hi,
>>
>> I compiled SimpleITK from source, and am now trying to install it so
>> that python can see the package. Maybe I am not doing it correctly,
>> but I have a runtime error while trying to import the package. Any
>> suggestions?
>>
>> My system details: OSX 10.6.8 (Snow Leopard), gcc-4.2.1, python 2.7.1.
>> Python has been installed from an Enthought distribution.
>>
>> If I need to submit a bug report, can someone point me to the right
>> location to do this? Is this regular ITK MAntis or not?
>>
>> [fedorov at bear site-packages] easy_install SimpleITK-0.3.0-py2.7.egg
>> Processing SimpleITK-0.3.0-py2.7.egg
>> Copying SimpleITK-0.3.0-py2.7.egg to
>> /Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/site-packages
>> Adding SimpleITK 0.3.0 to easy-install.pth file
>>
>> Installed /Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/site-packages/SimpleITK-0.3.0-py2.7.egg
>> Processing dependencies for SimpleITK==0.3.0
>> Finished processing dependencies for SimpleITK==0.3.0
>> [fedorov at bear site-packages] ipython
>> Enthought Python Distribution -- http://www.enthought.com
>>
>> Python 2.7.1 |EPD 7.0-2 (64-bit)| (r271:86832, Dec  3 2010, 15:56:20)
>> Type "copyright", "credits" or "license" for more information.
>>
>> IPython 0.10.1 -- An enhanced Interactive Python.
>> ?         -> Introduction and overview of IPython's features.
>> %quickref -> Quick reference.
>> help      -> Python's own help system.
>> object?   -> Details about 'object'. ?object also works, ?? prints more.
>>
>> In [1]: import SimpleITK
>> Fatal Python error: PyThreadState_Get: no current thread
>> Abort trap
>>
>>
>> --
>> Andriy Fedorov, Ph.D.
>>
>> Research Fellow
>> Brigham and Women's Hospital
>> Harvard Medical School
>> 75 Francis Street
>> Boston, MA 02115 USA
>> fedorov at bwh.harvard.edu
>> (617) 525-6258 (office)
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>


More information about the Insight-users mailing list