[yt-users] Cython discrepancy in yt install from source
Nathan Goldbaum
nathan12343 at gmail.com
Mon Jun 19 06:17:41 PDT 2017
Hi Carla,
I think we need to update the install script for the case with
INST_CONDA=0. For now you should be able to set INST_CONDA=1 and still get
rockstar setup, we made it so you can use rockstar with a conda-based
install a while back.
Nathan
On Mon, Jun 19, 2017 at 6:34 AM Carla Bernhardt <carla.j.bernhardt at gmail.com>
wrote:
> Dear yt-users,
>
> I am trying to compile yt with rockstar enabled, so I am having yt install
> itself from source. The code downloads Cython 0.23.5, but later then
> requires Cython 0.24+. I tried downloading Cython-0.25.2, but this failed
> (I probably did it wrong). What do I need to change to make the
> install_script.sh work with Cython?
>
> Here is a piece of the failure report I got:
>
> Installing GitPython-2.1.3
> Installing sympy-1.0
> Building Rockstar
> Installing yt
> ********************************************
> FAILURE REPORT:
> ********************************************
>
> File
> "/home/hd/hd_hd/hd_ri129/yt-x86_64/lib/python3.5/site-packages/setuptools-20.6.7-py3.5.egg/setuptools/command/sdist.py",
> line 132, in add_defaults
> File "/home/hd/hd_hd/hd_ri129/yt-x86_64/lib/python3.5/distutils/cmd.py",
> line 299, in get_finalized_command
> cmd_obj.ensure_finalized()
> File "/home/hd/hd_hd/hd_ri129/yt-x86_64/lib/python3.5/distutils/cmd.py",
> line 107, in ensure_finalized
> self.finalize_options()
> File "setup.py", line 308, in finalize_options
> cython.__version__)
> RuntimeError: Building yt from source requires Cython 0.24 or newer but
> Cython 0.23.5 is installed. Please update Cython using the appropriate
> package manager for your python environment.
>
> ********************************************
> ********************************************
>
> Cheers,
> Carla Bernhardt
> PhD Student
> ZAH Institut für Theoretische Astrophysik
> Universität Heidelberg
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170619/d10f55ee/attachment.htm>
More information about the yt-users
mailing list