Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kats installation failure due to Cython and numpy #330

Open
XinyeZhao opened this issue Dec 26, 2023 · 2 comments
Open

Kats installation failure due to Cython and numpy #330

XinyeZhao opened this issue Dec 26, 2023 · 2 comments

Comments

@XinyeZhao
Copy link

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?

@fariduca
Copy link

I am facing the same issue

@thanhvodc
Copy link

To install without error, let follow steps below:

  • Using python version < 3.8 (3.7 recommendation).
  • Having a look on requirements.txt, and installing all of those packages.
  • Try pip install kats again.

I have successfully installed kats after following these steps. Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants