[yt-users] Cython discrepancy in yt install from source

Carla Bernhardt carla.j.bernhardt at gmail.com
Mon Jun 19 04:34:01 PDT 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170619/8486b543/attachment.htm>


More information about the yt-users mailing list