<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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<br>
<br>
On 7/11/11 9:43 AM, Florian Bürzle wrote:
<blockquote
cite="mid:D02B8A25-D708-4368-A87E-5FB1F687885A@uni-konstanz.de"
type="cite">
<pre wrap="">
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 class="moz-txt-link-abbreviated" href="http://www.enthought.com">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 wrap="">from yt.mods import *
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
yt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
</blockquote>
</body>
</html>