facebookresearch / Kats

Kats, a kit to analyze time series data, a lightweight, easy-to-use, generalizable, and extendable framework to perform time series analysis, from understanding the key statistics and characteristics, detecting change points and anomalies, to forecasting future trends.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got an error with numpy when I do "pip install kats", any tips?

miguelc3 opened this issue · comments

I have the same error..

Same here..

This is caused by wrong Python and/or numpy versions, I think. I got the same error, but with conda I could get exactly Python 3.9 and numpy=1.21, which is the version specified in requirements.txt

I think the install routine tries to install numpy=1.21 on a Python that is too new for it.

To solve this, I recommend to try to create a new conda environment with Python 3.9 and install numpy=1.21 first and then install the other packages in the requirements.txt.

For example, to create a new environment with Python 3.9, you can use the following command (in command prompt):
conda create -n my_env python=3.9

Then, activate the environment using:
conda activate my_env

Finally, you can install numpy version 1.21 using:
conda install numpy=1.21

After that, you can install the rest of the packages listed in the requirements.txt.