[ITK] problem with installing SimpleITK with conda (mac)
Kayhan Batmanghelich
batmanghelich at gmail.com
Fri May 29 14:04:50 EDT 2015
Any idea on how to solve this issue?
On Thu, May 28, 2015 at 4:31 PM, Kayhan Batmanghelich <
batmanghelich at gmail.com> wrote:
> Hi all,
>
> I recently tried to install SimpleITK on a mac using conda install and I
> ran into the these problems.
>
> I first tried to install using easy_install but I had some issue so I
> removed it:
>
> kayhan·587216330·05/28,16:15:17·~/anaconda
> $ find . -name "SimpleITK"
>
> Then I tried to install it using conda :
>
> $ conda install -c https://conda.binstar.org/simpleitk SimpleITK
> Fetching package metadata: ......
> Solving package specifications: .
> Package plan for installation in environment /Users/kayhan/anaconda:
>
> The following packages will be downloaded:
>
> package | build
> ---------------------------|-----------------
> simpleitk-0.9.0 | py27_0 30.4 MB
>
> The following NEW packages will be INSTALLED:
>
> simpleitk: 0.9.0-py27_0
>
> Proceed ([y]/n)? y
>
> Fetching packages ...
> simpleitk-0.9. 100% |###################################################################| Time: 0:00:04 6.56 MB/s
> Extracting packages ...
> [ COMPLETE ]|######################################################################################| 100%
> Linking packages ...
> [ COMPLETE ]|######################################################################################| 100%
> kayhan·587216330·05/28,16:26:37·~
> $ ipython
> Python 2.7.9 |Anaconda 2.2.0 (x86_64)| (default, Dec 15 2014, 10:37:34)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 3.1.0 -- An enhanced Interactive Python.
> Anaconda is brought to you by Continuum Analytics.
> Please check out: http://continuum.io/thanks and https://binstar.org
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object', use 'object??' for extra details.
>
> In [1]: import SimpleITK
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
> <ipython-input-1-f5d7554c860e> in <module>()
> ----> 1 import SimpleITK
>
> /Users/kayhan/anaconda/lib/python2.7/site-packages/SimpleITK/__init__.py in <module>()
> ----> 1 from .SimpleITK import *
>
> /Users/kayhan/anaconda/lib/python2.7/site-packages/SimpleITK/SimpleITK.py in <module>()
> 26 fp.close()
> 27 return _mod
> ---> 28 _SimpleITK = swig_import_helper()
> 29 del swig_import_helper
> 30 else:
>
> /Users/kayhan/anaconda/lib/python2.7/site-packages/SimpleITK/SimpleITK.py in swig_import_helper()
> 22 if fp is not None:
> 23 try:
> ---> 24 _mod = imp.load_module('_SimpleITK', fp, pathname, description)
> 25 finally:
> 26 fp.close()
>
> ImportError: dlopen(/Users/kayhan/anaconda/lib/python2.7/site-packages/SimpleITK/_SimpleITK.so, 2): Library not loaded: @rpath/libpng15.15.dylib
> Referenced from: /Users/kayhan/anaconda/lib/python2.7/site-packages/SimpleITK/_SimpleITK.so
> Reason: image not found
>
> In [2]:
>
> Any idea?
>
> Thanks,
> Kayhan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150529/79a6f8df/attachment.html>
More information about the Community
mailing list