<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 new Linux cluster 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 (please se below).<br>Previously I used <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)">eas_install</code> (on different  machine) and it was fine but I prefer to use <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 it seems a library <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)">libpng</code> is missing. I tried to install it but still it does not work and I cannot figure out what is wrong:</p>
<p style="margin:1.2em 0px!important">This is the error I get on the </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">[....]
The following NEW packages will be INSTALLED:

    simpleitk:  0.9.0-py27_0

The following packages will be UPDATED:

    conda:      3.11.0-py27_0 --> 3.12.0-py27_0
    libpng:     1.5.13-1      --> 1.6.17-0
    python:     2.7.9-2       --> 2.7.9-3
    requests:   2.6.2-py27_0  --> 2.7.0-py27_0
    setuptools: 15.2-py27_0   --> 16.0-py27_0

Proceed ([y]/n)? y

Fetching packages ...
libpng-1.6.17- 100% |################################| Time: 0:00:00 540.39 kB/s
python-2.7.9-3 100% |################################| Time: 0:00:01   7.37 MB/s
requests-2.7.0 100% |################################| Time: 0:00:00 943.37 kB/s
setuptools-16. 100% |################################| Time: 0:00:00 665.72 kB/s
simpleitk-0.9. 100% |################################| Time: 0:00:03  13.17 MB/s
conda-3.12.0-p 100% |################################| Time: 0:00:00 383.26 kB/s
Extracting packages ...
[      COMPLETE      ]|###################################################| 100%
Unlinking packages ...
[      COMPLETE      ]|###################################################| 100%
Linking packages ...
[      COMPLETE      ]|###################################################| 100%
[batmangh@comet-ln2 ~]$ ipython
Python 2.7.9 |Anaconda 2.2.0 (64-bit)| (default, Apr 14 2015, 12:54:25)
Type "copyright", "credits" or "license" for more information.

IPython 3.0.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 as sitk
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-3dd12c25dd88> in <module>()
----> 1 import SimpleITK as sitk

/home/batmangh/anaconda/lib/python2.7/site-packages/SimpleITK/__init__.py in <module>()
----> 1 from .SimpleITK import *

/home/batmangh/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:

/home/batmangh/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: libpng15.so.15: cannot open shared object file: No such file or directory
</code></pre><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 --channel <a href="https://conda.binstar.org/anaconda">https://conda.binstar.org/anaconda</a> libpng

Fetching package metadata: ......
Solving package specifications: .................
# All requested packages already installed.
# packages in environment at /home/batmangh/anaconda:
#
libpng                    1.6.17                        0
</code></pre><p style="margin:1.2em 0px!important">but still has the same issue.</p>
<p style="margin:1.2em 0px!important">Any suggestion?</p>
<p style="margin:1.2em 0px!important">Thanks,<br>Kayhan</p>
<div title="MDH:SGkgYWxsLDxkaXY+PGJyPjwvZGl2PjxkaXY+SSByZWNlbnRseSB0cmllZCB0byBpbnN0YWxsIFNp
bXBsZUlUSyBvbiBhIG5ldyBMaW51eCBjbHVzdGVyIHVzaW5nIGBjb25kYSBpbnN0YWxsYCBhbmQg
SSByYW4gaW50byB0aGUgdGhlc2UgcHJvYmxlbXMgKHBsZWFzZSBzZSBiZWxvdykuJm5ic3A7PC9k
aXY+PGRpdj5QcmV2aW91c2x5IEkgdXNlZCBgZWFzX2luc3RhbGxgIChvbiBkaWZmZXJlbnQgJm5i
c3A7bWFjaGluZSkgYW5kIGl0IHdhcyBmaW5lIGJ1dCBJIHByZWZlciB0byB1c2UgYGNvbmRhIGlu
c3RhbGxgIGFuZCBpdCBzZWVtcyBhIGxpYnJhcnkgYGxpYnBuZ2AgaXMgbWlzc2luZy4gSSB0cmll
ZCB0byBpbnN0YWxsIGl0IGJ1dCBzdGlsbCBpdCBkb2VzIG5vdCB3b3JrIGFuZCBJ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