<div dir="ltr">Hi Jill,<div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 4:25 PM, Jill Naiman <span dir="ltr"><<a href="mailto:jnaiman@gmail.com" target="_blank">jnaiman@gmail.com</a>></span> wrote:<br>

<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 dir="ltr"><div>Hi Nathan,<br><br>I was trying to build yt-3.0.  What python3 are you using? (I'm on 3.4).  </div>

</div></blockquote><div><br></div><div>Python 3.4, specifically:</div><div><br></div><div><div>Python 3.4.0 (default, Apr  9 2014, 11:51:10)</div><div>[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)] on darwin</div>

</div><div><br></div><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 dir="ltr"><div>Also, it doesn't seem to call 2to3 itself, this would be the yt-hg/setup.py script?  <br>

</div></div></blockquote><div><br></div><div>Yup.  I also had to install several dependencies.  Here is the sequence of commands:</div><div><br></div><div><div>pip3 install numpy</div><div>pip3 install sympy</div><div>pip3 install matplotlib</div>

<div>pip3 install cython</div><div>pip3 install h5py</div><div>pip3 install ipython</div></div><div><br></div><div>then, inside the yt mercurial repo:</div><div><br></div><div>python3 setup.py install<br></div><div><br></div>

<div>Note that setup.py develop won't work, since apparently it does not do 2to3 in-place on the repository.</div><div><br></div><div>That said, I'm not sure this will be worth the effort for you since large portions of yt will likely be badly broken - there were many unit test failures on my machine and only a fraction of the unit tests actually even ran.</div>

<div><br></div><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 dir="ltr"><div><span class=""><font color="#888888"><br>

</font></span></div><span class=""><font color="#888888">-Jill<br>
</font></span></div><div class=""><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 12:34 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>


<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 dir="ltr">It looks like there are quite a few unit test failures.</div>

<div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 2:04 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>

<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 dir="ltr">I just tried, and I was able to build yt-3.0 under python3 with the following modification to EnzoHop.c:<div>




<br></div><div><a href="http://paste.yt-project.org/show/4895/" target="_blank">http://paste.yt-project.org/show/4895/</a><br>
</div><div><br></div><div>I'm trying the unit tests right now....</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 1:56 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>





<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 dir="ltr">Hi Jill,<div><br></div><div>Can you give a little bit more detail about which version of yt you're trying to build?</div>





<div><br></div><div>If you clone the yt mercurial repository and update to the yt-3.0 branch, you should be able to build with python3, although there may be breakage since we don't test it yet.  2to3 should be called directly by the setup script.</div>






<div><br></div><div>Right now the plan is to officially support python3 with the release of yt-3.1: <a href="https://trello.com/c/r45HQFUv" target="_blank">https://trello.com/c/r45HQFUv</a></div><div><br></div><div>-Nathan</div>





</div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div>On Tue, Jul 8, 2014 at 1:50 PM, Jill Naiman <span dir="ltr"><<a href="mailto:jnaiman@gmail.com" target="_blank">jnaiman@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>
<div dir="ltr"><div><div><div>Hi Folks!<br><br></div>So, I'm trying to build yt with python3.   My python/c is still noobish, but so far I've converted everything with 2to3, however I'm getting some errors in regards to the kdtree libraries.  I was wondering if anybody has tried a python3 build and/or if anybody has an idea on how to properly install new kdtree libraries for python3?   <br>







<br></div>Thanks for any insights!<span><font color="#888888"><br></font></span></div><span><font color="#888888">-Jill<br></font></span></div>
<br></div></div>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div></div>