<div dir="ltr">Just in case it's not clear from that thread: "pip install -U setuptools" should fix it. I'm not sure if you're going to be able to do that using the python installation you're using that's managed by Nasa, in which case I'd suggest setting up your installation using the get_yt.sh script, which installs yt into a miniconda environment:<div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt/raw/yt/doc/get_yt.sh">https://bitbucket.org/yt_analysis/yt/raw/yt/doc/get_yt.sh</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 8:02 AM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mark,<br>
<br>
I think this is because of a not-up-to-date setuptools package.  I'm<br>
not 100% familiar with the specifics, but this ticket goes over how to<br>
address it: <a href="https://bitbucket.org/yt_analysis/yt/issues/1169/document-issue-with-old-setuptools-or" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt/issues/1169/document-issue-with-old-setuptools-or</a><br>
<div><div class="h5"><br>
On Tue, Feb 23, 2016 at 10:41 PM, Mark Krumholz <<a href="mailto:mkrumhol@ucsc.edu">mkrumhol@ucsc.edu</a>> wrote:<br>
> Hi yt Users,<br>
><br>
> I’m having a problem compiling the current development branch of yt on NASA<br>
> pleiades, and I’m hoping that someone can suggest what could be going wrong.<br>
> Here’s what I get when I try to compile:<br>
><br>
> bridge4:yt mkrumhol$ /nasa/python/2.7.9/bin/python setup.py develop<br>
> --prefix=/u/mkrumhol<br>
> running develop<br>
> running egg_info<br>
> writing requirements to yt.egg-info/requires.txt<br>
> writing yt.egg-info/PKG-INFO<br>
> writing top-level names to yt.egg-info/top_level.txt<br>
> writing dependency_links to yt.egg-info/dependency_links.txt<br>
> writing entry points to yt.egg-info/entry_points.txt<br>
> reading manifest file 'yt.egg-info/SOURCES.txt'<br>
> reading manifest template 'MANIFEST.in'<br>
> warning: no previously-included files found matching<br>
> 'scripts/pr_backport.py'<br>
> no previously-included directories found matching<br>
> 'doc/source/reference/api/generated'<br>
> no previously-included directories found matching 'doc/build'<br>
> writing manifest file 'yt.egg-info/SOURCES.txt'<br>
> running build_ext<br>
> pyrexc yt/analysis_modules/photon_simulator/utils.pyx --><br>
> yt/analysis_modules/photon_simulator/utils.c<br>
> /home3/mkrumhol/yt/yt/analysis_modules/photon_simulator/utils.pyx:6:17:<br>
> Syntax error in C variable declaration<br>
> building 'yt.analysis_modules.photon_simulator.utils' extension<br>
> gcc -fno-strict-aliasing -O2 -Wno-error -pipe -DHAVE_DB_185_H -pthread<br>
> -I/usr/include -I/nasa/pkgsrc/2014Q4/include/db4<br>
> -I/nasa/pkgsrc/2014Q4/include -DNDEBUG -O2 -Wno-error -pipe -DHAVE_DB_185_H<br>
> -pthread -I/usr/include -I/nasa/pkgsrc/2014Q4/include/db4<br>
> -I/nasa/pkgsrc/2014Q4/include -fPIC -I/nasa/pkgsrc/2014Q4/include/python2.7<br>
> -I/nasa/pkgsrc/2014Q4/lib/python2.7/site-packages/numpy/core/include -c<br>
> yt/analysis_modules/photon_simulator/utils.c -o<br>
> build/temp.linux-x86_64-2.7/yt/analysis_modules/photon_simulator/utils.o<br>
> gcc: yt/analysis_modules/photon_simulator/utils.c: No such file or directory<br>
> gcc: no input files<br>
> error: command 'gcc' failed with exit status 1<br>
><br>
> I’m using python 2.7.9 and cython 0.23.4. The problem only occurs with the<br>
> development branch; the stable branch compiles fine.<br>
><br>
> I’d appreciate any suggestions. Thanks.<br>
><br>
> --<br>
> Mark Krumholz<br>
> <a href="http://www.mso.anu.edu.au/~krumholz/" rel="noreferrer" target="_blank">http://www.mso.anu.edu.au/~krumholz/</a><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>