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

Unable to install Kats #334

Open
bruceesmith opened this issue Apr 23, 2024 · 1 comment
Open

Unable to install Kats #334

bruceesmith opened this issue Apr 23, 2024 · 1 comment

Comments

@bruceesmith
Copy link

Environment is

  • Ubuntu 23.10
  • Python 3.11.6
  • virtual environment in /tmp/kats/
  • followed the 2-line instructions in PyPI

Issue: installation failed during pystan metadata preparation

Logfile attached "kats-installation.log"

@nistrup
Copy link

nistrup commented Jan 3, 2025

As mentioned here: #324 I fixed this by rolling back to Python 3.7, seems like never versions are not supported.

# Install Python 3.7 and 3.7 Dev
sudo apt update                              
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3.7
sudo apt-get install python3.7-dev

# Create virtual environment
python3.7 -m venv venv37
source venv37/bin/activate

# Pip install packages in the following order
pip install numpy
pip install pandas
pip install convertdate
pip install lunarcalendar
pip install holidays==0.23
pip install tqdm
pip install pystan==2.19.1.1
pip install fbprophet==0.7.1
pip install kats
pip install Packaging==21.3

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

2 participants