[Insight-users] SimpleITK build error

Matt McCormick matt.mccormick at kitware.com
Sat Oct 15 20:17:57 EDT 2011


Hi Hans,

Do you remember the where the virtualenv update was, I think it was on
the Mac, that fixed this issue?  It looks like he is using the
Enthought Python Distribution, and hopefully a similar fix would work.

Thanks,
Matt

On Sat, Oct 15, 2011 at 7:04 PM, Andriy Fedorov <fedorov at bwh.harvard.edu> wrote:
> Hi,
>
> I have the error below while trying to compile SimpleITK from source.
> I am following instructions here:
> http://www.itk.org/Wiki/ITK_Release_4/SimpleITK/GettingStarted, with
> Python bindings only.
>
> OSX 10.6.8 (Snow Leopard), gcc-4.2.1, python 2.7.1.
>
> [ 63%] Built target ConfigureFileBuildtime
> Linking CXX shared module
> /Users/fedorov/Software/SimpleITK-build/lib/_SimpleITK.so
> Creating Python virtualenv
> Already using interpreter
> /Library/Frameworks/EPD64.framework/Versions/Current/bin/python2.7
> New python executable in
> /Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv/bin/python2.7
> Also creating executable in
> /Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv/bin/python
> ERROR: The executable
> /Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv/bin/python2.7
> is not functioning
> ERROR: It thinks sys.prefix is
> u'/Library/Frameworks/EPD64.framework/Versions/7.0' (should be
> '/Users/fedorov/Software/SimpleITK-build/SimpleITK-build/Testing/Installation/PythonVirtualenv')
> ERROR: virtualenv is not compatible with this system or executable
> make[5]: *** [/Users/fedorov/Software/SimpleITK-build/lib/_SimpleITK.so]
> Error 100
> make[4]: *** [Wrapping/CMakeFiles/_SimpleITK.dir/all] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2
> make[1]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
> make: *** [all] Error 2
>
> Can someone help?
>
> AF
> _____________________________________
> 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