<div dir="ltr"><div class="markdown-here-wrapper" style><p style="margin:1.2em 0px!important">Hi all,</p>
<p style="margin:1.2em 0px!important">I recently tried to install SimpleITK on a mac using <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">conda install</code> and I ran into the these problems. </p>
<p style="margin:1.2em 0px!important">I first tried to install using <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">easy_install</code> but I had some issue so I removed it:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important">kayhan·587216330·05/28,16:15:17·~/anaconda
$ find . -name "SimpleITK"
</code></pre><p style="margin:1.2em 0px!important">Then I tried to install it using conda :</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important">$ conda install -c <a href="https://conda.binstar.org/simpleitk">https://conda.binstar.org/simpleitk</a> 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: <a href="http://continuum.io/thanks">http://continuum.io/thanks</a> and <a href="https://binstar.org">https://binstar.org</a>
? -> 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]:
</code></pre><p style="margin:1.2em 0px!important">Any idea?</p>
<p style="margin:1.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