<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi all,
<div><br>
</div>
<div>I'm running into some problems while trying to generate a python executable in yt3.0</div>
<div>I was able to do it in yt2.6 but not in this newer version, this is an example of what I'm doing:</div>
<div><br>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div>>#!/home/jcibanezm/codes/yt30/yt-x86_64/bin/python</div>
</div>
<div>
<div>></div>
</div>
<div>
<div>>import yt</div>
</div>
<div>
<div>>print "Hello World"</div>
</div>
</blockquote>
<div><br>
</div>
<div>And when I run this, I get the following error:</div>
<div><br>
</div>
<div>
<div>Traceback (most recent call last):</div>
<div>  File "./Test.py", line 3, in <module></div>
<div>    from yt.config import ytcfg;ytcfg["yt","__withinreason"]="True"</div>
<div>  File "/home/jcibanezm/codes/yt30/yt-x86_64/src/yt-hg/yt/__init__.py", line 121, in <module></div>
<div>    from yt.data_objects.api import \</div>
<div>  File "/home/jcibanezm/codes/yt30/yt-x86_64/src/yt-hg/yt/data_objects/api.py", line 53, in <module></div>
<div>    from .image_array import \</div>
<div>  File "/home/jcibanezm/codes/yt30/yt-x86_64/src/yt-hg/yt/data_objects/image_array.py", line 15, in <module></div>
<div>    from yt.visualization.image_writer import write_bitmap, write_image</div>
<div>  File "/home/jcibanezm/codes/yt30/yt-x86_64/src/yt-hg/yt/visualization/image_writer.py", line 24, in <module></div>
<div>    import yt.utilities.png_writer as pw</div>
<div>  File "/home/jcibanezm/codes/yt30/yt-x86_64/src/yt-hg/yt/utilities/png_writer.py", line 13, in <module></div>
<div>    import matplotlib._png as _png</div>
<div>ImportError: libpng16.so.16: cannot open shared object file: No such file or directory</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Any idea ?</div>
<div>thanks for your help.</div>
<div>Best,</div>
<div>Juan</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>--------------------------------------------------</div>
<div>Juan Camilo Ibáñez-Mejia</div>
<div>PhD student in Physics.</div>
<div>
<div>Institut für Theoretische Astrophysik,</div>
<div>Zentrum für Astronomie Heidelberg</div>
<div><a href="mailto:jibanez@zah.uni-heidelberg.de">jibanez@zah.uni-heidelberg.de</a></div>
</div>
<div><br>
</div>
<div>American Museum of Natural History</div>
<div>+1-212-313-7435</div>
<div><a href="mailto:jibanezmejia@amnh.org">jibanezmejia@amnh.org</a></div>
<div>----------------------------------------------------</div>
</div>
</div>
</span></div>
</div>
</div>
<br>
</div>
</body>
</html>