<br><br>On Friday, July 31, 2015, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>On Friday, July 31, 2015, Molly Peeples <<a href="javascript:_e(%7B%7D,'cvml','molly@stsci.edu');" target="_blank">molly@stsci.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi folks,</div><div><br></div><div>I'm trying to install the dev branch of yt and I'm hitting some stumbling blocks. (For those of you who I talked to about this in May, the short version is that I've managed to recreate the same issues I had on my laptop but now on my desktop.)</div><div><br></div><div>The first thing I tried was the <a href="http://bitbucket.org/yt_analysis/yt/raw/yt/doc/install_script.sh" target="_blank">http://bitbucket.org/yt_analysis/yt/raw/yt/doc/install_script.sh</a> script, which fails at installing HDF5 (<a href="http://pastebin.com/QSnKqHtW" target="_blank">http://pastebin.com/QSnKqHtW</a>). The same thing happens for the stable branch install script, and when I try this on a different machine (laptop vs desktop, but similar setups and python installations). </div></div></blockquote><div><br></div><div>There is something wrong with your build environment. How did you set up your compilers? Using the Xcode command line tools or did you get your compilers from a third-party source?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I can install the stable branch no problem just doing pip install yt. But I'd still like the dev branch and / or source code. When I do hg clone <a href="https://bitbucket.org/yt_analysis/yt" target="_blank">https://bitbucket.org/yt_analysis/yt</a> and then python setup.py develop, I get a:</div><div>[oak:~/yt] molly% python setup.py develop<br>Cython is a build-time requirement for the source tree of yt.<br>Please either install yt from a provided, release tarball,<br>or install Cython (version 0.22 or higher).<br>You may be able to accomplish this by typing:<br>     pip install -U Cython</div><div>Which, naturally, I did, and it says it's successfully installed, but I get the same error when I then rerun the setup.py. (I think this is the same line we went through when trying to get it working on my laptop which is why we eventually used conda to get the stable version + source on my laptop.) FWIW, I seem to not be able to uninstall cython, though it's somewhat unclear on why:<br>[oak:~/yt] molly% pip uninstall cython<br>Not uninstalling Cython at /usr/stsci/ssb/python/lib/python2.7/site-packages/Cython-0.21.1-py2.7-macosx-10.6-x86_64.egg, outside environment /Users/molly/ssbvirt/ssb-OS X</div><div><br></div><div><br><br><br>Soo...suggestions? It looks like I can get the binary no problem but if I want the source + dev branch, there are issues.</div></div></blockquote><div> </div><div><br></div><div> </div><div><br></div><div>Does cython import successfully? If so, what's the output of cython.__file__? cython.__version?</div></blockquote><div><br></div><div>Sorry, I men's clothing cython.__version__<span></span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>I think this message about not uninstalling cython is related to virtualenvs. Do you use virtualenvs?</div><div><br></div><div><span></span>How did you set up your Python environment? You mentioned anaconda Python, what happens if you install cython using conda?</div><div><br></div><div>Finally, OSX 10.6 is getting a bit long in the tooth (for example, conda no longer supports it), maybe that's part of the issue?</div><div><br></div><div><br></div><div> </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>--Molly</div></div>
</blockquote>
</blockquote>