<div dir="ltr">Hey Nathan,<div><br></div><div>My setup / compilers / etc. are a software bundle maintained by STScI for the staff here (that's the ssb thing you can see in my paths). They do run as a virtual machine. I do not use Xcode. Both machines are on OSX 10.9.5. Any ideas as to what's wrong with the build environment? I'd really not like to have to install and maintain everything independently, especially since the build I have "just works" for every other application I have. If I can get the HDF5 problem diagnosed well then there's a chance they will be able to fix it here. </div><div><br></div><div>Re. cython:<br>molly% cython -V<br>Cython version 0.22.1<br></div><div>And __file__ does confirm that it is installed as part of the virtual env ('/usr/stsci/ssb/python/lib/python2.7/site-packages/Cython-0.21.1-py2.7-macosx-10.6-x86_64.egg/cython.py')</div><div><br></div><div>--Molly</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 31, 2015 at 11:29 AM, 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"><span><br><br>On Friday, July 31, 2015, Molly Peeples <<a href="mailto:molly@stsci.edu" target="_blank">molly@stsci.edu</a>> 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 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></span><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: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"><span><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></span><div><span>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></span>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><span><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></span></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><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: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><br></div><div>--Molly</div></div>
</blockquote>
<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div></div>