<div dir="ltr">OK, the updated Ubuntu packages are available. I just tried them out on my ubuntu 12.04.2 LTS and yt-devel works great. With the stable version (yt) I get an import error:<div><br></div><div><div>In [1]: from yt.mods import *</div>
<div>---------------------------------------------------------------------------</div><div>ImportError Traceback (most recent call last)</div><div><ipython-input-1-c31905f7fc2e> in <module>()</div>
<div>----> 1 from yt.mods import *</div><div><br></div><div>/usr/lib/pymodules/python2.7/yt/mods.py in <module>()</div><div> 97 GDFStaticOutput, GDFFieldInfo, add_gdf_field</div><div> 98 </div><div>---> 99 from yt.frontends.athena.api import \</div>
<div> 100 AthenaStaticOutput, AthenaFieldInfo, add_athena_field</div><div> 101 </div><div><br></div><div>ImportError: No module named athena.api</div></div><div><br></div><div><br></div><div style>This is weird, because when I install that exact same changeset (329d11eeff22) from source (with python ./setup.py develop --prefix=$HOME/local) it works just fine. I'll have to investigate. But if you're ok with using the development package (yt-devel), then you should be good to go.</div>
<div style><br></div><div style>Mike</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 2:02 AM, Michael Kuhlen <span dir="ltr"><<a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Roberto<div><br></div><div>I'm the maintainer of that ubuntu PPA, sorry you're having trouble with it. I think maybe all you need to do is to run 'sudo add-apt-repository ppa:kuhlen/ppa'. Note the trailing '/ppa'. Can you give that a try?</div>
<div><br></div><div>Otherwise, can you look under /etc/apt/sources.list.d/ and see if there's a file named 'kuhlen-ppa-precise.list'? If there is, what is its content?</div><div><br></div><div>I've been a bit remiss in keeping these packages up-to-date, but spurned by your email I just re-packaged updates to the most recent versions (yt: 329d11eeff22, yt-devel: 09a0fd75818b). Should be available there some time tomorrow.</div>
<div><br></div><div>Cheers,</div><div>Mike</div><div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Feb 19, 2013 at 11:32 PM, Kacper Kowalik <span dir="ltr"><<a href="mailto:xarthisius.kk@gmail.com" target="_blank">xarthisius.kk@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div>On 02/18/2013 12:58 AM, trobolo dinni wrote:<br>
> Hi Nathan,<br>
><br>
> sorry for the delay in replying.<br>
><br>
> To install yt on the system python I followed the procedure you mentioned:<br>
> entered the yt directory cloned from bitbucket, run "python setup.py<br>
> install".<br>
> I did that again to check another time but the error persists.<br>
><br>
> As I said I just reinstalled the same Ubuntu version on the same computer<br>
> where before yt was usually installed by following the procedure above and<br>
> it was normally running.<br>
><br>
> Could reinstall cython help to solve the problem?<br>
><br>
> Thanks,<br>
> Roberto<br>
<br>
</div>Hi Roberto,<br>
could you run the following command in your $YT_HG directory:<br>
<br>
find . -name "data_point_utilities.*"<br>
<br>
and post the output? Also if you could try installing again but provide<br>
us with build.log.gz from:<br>
<br>
cd $YT_HG<br>
bash ./clean.sh<br>
python setup.py build | gzip --fast > build.log.gz<br>
<br>
What version of ubuntu are you using?<br>
Cheers,<br>
Kacper<br>
<br>
<br>
<br></div></div><div class="im">_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>*********************************************************************<br>* *<br>
* Dr. Michael Kuhlen Theoretical Astrophysics Center *<br>
* email: <a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a> UC Berkeley *<br>* cell phone: <a href="tel:%28831%29%20588-1468" value="+18315881468" target="_blank">(831) 588-1468</a> B-116 Hearst Field Annex # 3411 *<br>
* skype username: mikekuhlen Berkeley, CA 94720 *<br>
* *<br>*********************************************************************<br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>*********************************************************************<br>* *<br>* Dr. Michael Kuhlen Theoretical Astrophysics Center *<br>
* email: <a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a> UC Berkeley *<br>* cell phone: (831) 588-1468 B-116 Hearst Field Annex # 3411 *<br>* skype username: mikekuhlen Berkeley, CA 94720 *<br>
* *<br>*********************************************************************<br>
</div>