Skip to content

Kats installation failure due to Cython and numpy #330

@XinyeZhao

Description

@XinyeZhao

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions