[yt-dev] adventures in trying to install yt_dev

Molly Peeples molly at stsci.edu
Fri Jul 31 08:21:40 PDT 2015


Hi folks,

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.)

The first thing I tried was the
http://bitbucket.org/yt_analysis/yt/raw/yt/doc/install_script.sh script,
which fails at installing HDF5 (http://pastebin.com/QSnKqHtW). 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).

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
https://bitbucket.org/yt_analysis/yt and then python setup.py develop, I
get a:
[oak:~/yt] molly% python setup.py develop
Cython is a build-time requirement for the source tree of yt.
Please either install yt from a provided, release tarball,
or install Cython (version 0.22 or higher).
You may be able to accomplish this by typing:
     pip install -U Cython
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:
[oak:~/yt] molly% pip uninstall cython
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-osx

Soo...suggestions? It looks like I can get the binary no problem but if I
want the source + dev branch, there are issues.

--Molly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20150731/2ee279df/attachment.htm>


More information about the yt-dev mailing list