<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>well I found an previous install script for yt 3.0, about 4-5 months old, installed yt 3.0 with it and apparently it's working and scripts seem to be working as well.  Not sure what is happening with the new install script in my machine.</div>
<div><br>
</div>
<div>Best,</div>
<div>Juan</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On Jul 17, 2015, at 9:50 AM, Juan Camilo Ibanez Mejia wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Nathan,
<div><br>
</div>
<div>the OS is Ubuntu 14.04.2.</div>
<div><br>
</div>
<div>I tried reinstalling yt3.0 but got the following error:</div>
<div><br>
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div>********************************************</div>
<div>        FAILURE REPORT:</div>
<div>********************************************</div>
<div><br>
</div>
<div>Processing dependencies for matplotlib==1.4.0</div>
<div>Searching for mock</div>
<div>Reading <a href="http://pypi.python.org/simple/mock/">http://pypi.python.org/simple/mock/</a></div>
<div>Best match: mock 1.1.4</div>
<div>Downloading <a href="https://pypi.python.org/packages/source/m/mock/mock-1.1.4.tar.gz#md5=84afbeb2415bf3d6608dac4423a56325">
https://pypi.python.org/packages/source/m/mock/mock-1.1.4.tar.gz#md5=84afbeb2415bf3d6608dac4423a56325</a></div>
<div>Processing mock-1.1.4.tar.gz</div>
<div>Writing /tmp/easy_install-GMOnmI/mock-1.1.4/setup.cfg</div>
<div>Running mock-1.1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-GMOnmI/mock-1.1.4/egg-dist-tmp-uR9lqT</div>
<div>mock requires setuptools>=17.1. Aborting installation</div>
<div>error: Setup script exited with 1</div>
<div><br>
</div>
<div>********************************************</div>
<div>********************************************</div>
</div>
<div><br>
</div>
</blockquote>
<div>I tried installing setuptools in my home dir, as I don't have root access in this machine, but was unable to it kept complaining that the folder where I wanted to install this package  did not support .pth files.</div>
<div><br>
</div>
<div>Any ideas ?</div>
<div><br>
</div>
<div>Thanks for your help.</div>
<div>Best,</div>
<div>Juan</div>
<div><br>
</div>
<br>
<div><br>
<div>
<div>On Jul 15, 2015, at 8:44 PM, Nathan Goldbaum wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jul 15, 2015 at 12:19 PM, Juan Camilo Ibanez Mejia
<span dir="ltr"><<a href="mailto:jibanezmejia@amnh.org" target="_blank">jibanezmejia@amnh.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">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 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>
</blockquote>
<div><br>
</div>
<div>It looks like your python installation is broken - matplotlib can't find libpng. Since it was able to find it when matplotlib was installed initally, this indicates to me that libpng was deleted out from under it.</div>
<div><br>
</div>
<div>What OS is this?</div>
<div><br>
</div>
<div>Have you tried completely deleting the yt-x86_64 folder and rerunning the install script?</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<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">
<div style="word-wrap:break-word"><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;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">
<div style="word-wrap:break-word">
<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" target="_blank">jibanez@zah.uni-heidelberg.de</a></div>
</div>
<div><br>
</div>
<div>American Museum of Natural History</div>
<div><a href="tel:%2B1-212-313-7435" value="+12123137435" target="_blank">+1-212-313-7435</a></div>
<div><a href="mailto:jibanezmejia@amnh.org" target="_blank">jibanezmejia@amnh.org</a></div>
<div>----------------------------------------------------</div>
</div>
</div>
</span></div>
</div>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote>
</div>
<br>
<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; 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>
</div>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br>
</blockquote>
</div>
<br>
<div><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; "><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; ">
<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; ">
<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>
</span></div>
</span></span></div>
<br>
</div>
</body>
</html>