Hi Florian,<div><br></div><div>It seems that for some reason it isn't actually compiling the amr_utils code:</div><div><div>creating stub loader for yt/utilities/amr_utils.so</div><div>which would happen if it already existed in the build/ directory.  Could you try removing the build directory and retry the python setup.py install?  That should force it to recompile and perhaps that will fix the issue.  </div>

<div><br></div><div>One other possibility is that you are running from within the yt-hg/ directory, which now that I look at the traceback path "<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">yt/utilities/io_handler.py", may be the case.  When you run yt from within the yt-hg directory, paths get confused, particularly with the cython compiled files.  Could you try running from a different directory?  </span></div>

<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">If neither of those things work, could you show us what is in your PATH, PYTHONPATH, YT_DEST, and LD_LIBRARY_PATH?  </span></div>

<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Best,</span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Sam</span></font></div><meta charset="utf-8"><br><div class="gmail_quote">On Mon, Jul 11, 2011 at 7:56 AM, Cameron Hummels <span dir="ltr"><<a href="mailto:chummels@astro.columbia.edu">chummels@astro.columbia.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hi Florian,<br>
    <br>
    I also had some problems running yt with Enthought Python a while
    back.  I seem to recall that h5py is broken in EPD, which isn't
    creating the error that you're experiencing here, but it will cause
    problems later on in your use of yt.  Anyway, I don't know the
    reason for your specific troubles here, I can only recommend what I
    did to fix this issue: install yt using the installer script.  The
    installer script will download and create a new instance of python
    2.7, along with all of the yt dependencies.  You should then be able
    to use that new python and yt with no problems.  Of course, I
    realize that it would be nice to have yt run within your existing
    python installation, so perhaps one of the other users can comment
    on why it isn't working here.  Good luck!<br>
    <br>
    Cameron<div><div></div><div class="h5"><br>
    <br>
    On 7/11/11 9:43 AM, Florian Bürzle wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">
      <pre>Hi!

I've tried to get the hg version of yt working on my Mac Book Pro (OS X 10.6.8) using EPD Python 7.1., however unsuccessfully. I chose the development version 

hg up -C yt

and performed the installation by using 'python setup.py install', and everything seemed to work fine (I captured the screen output in install_log.txt, attached). However, trying to import yt.mods gives the following error:

Enthought Python Distribution -- <a href="http://www.enthought.com" target="_blank">www.enthought.com</a>
Version: 7.1-1 (32-bit)

Python 2.7.2 |EPD 7.1-1 (32-bit)| (default, Jul  3 2011, 15:40:35) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "packages", "demo" or "enthought" for more information.
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre>from yt.mods import *
</pre>
          </blockquote>
        </blockquote>
      </blockquote>
      <pre>Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "yt/mods.py", line 45, in <module>
    from yt.data_objects.api import \
  File "yt/data_objects/api.py", line 34, in <module>
    from hierarchy import \
  File "yt/data_objects/hierarchy.py", line 39, in <module>
    from yt.utilities.io_handler import io_registry
  File "yt/utilities/io_handler.py", line 28, in <module>
    import yt.utilities.amr_utils as au
ImportError: No module named amr_utils



Many thanks in advance for your help!

Best regards 
Florian


</pre>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
yt-users mailing list
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
    </blockquote>
  </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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>