#330·Kats

Kats installation failure due to Cython and numpy

Author: XinyeZhaoCreated Dec 26, 2023Updated Apr 20, 2024

Hi, when trying to install kats via pip, it pops an error: Collecting pystan==2.19.1.1 (from kats) Using cached pystan-2.19.1.1.tar.gz (16.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [1 lines of output] Cython>=0.22 and NumPy are required. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

however, I've checked my Cython and NumPy installation, Cython is 3.0.7 and I've installed NumPy. Can anyone help me out?