GithubHelp home page GithubHelp logo

Comments (10)

reyemb avatar reyemb commented on June 2, 2024 12

I have had the same problem. Here is how I fixed it.

I created an new conda environment (python 3.8.10)

Installed fbprophet by:
conda install -c conda-forge fbprophet

And then installed kats by:
pip install kats

The origin of the problem is that some compilers aren't installed (gcc). Running the first command solves the problem. Hope it works for you as well :)

from kats.

amit-dingare avatar amit-dingare commented on June 2, 2024 3

I don't think this works anymore. Kats has a strict requirement for fbprophet with version 0.7, but conda-forge has 0.7.1. So, when you try to install kats from pypi, it tries to downgrade fbprophet to 0.7 and then the problem persists.

from kats.

bash-j avatar bash-j commented on June 2, 2024 2

I have struggled many times to get any package like fbprophet using pystan to work on my work laptop running Windows 10, which is also locked down without admin rights. On my personal laptop I can install these packages no problem.

I just installed Kats yesterday and got it to work by using conda to create a new environment, installing the dependencies first with conda and using conda-forge using the =version number to make sure it installs the versions kats needs.

Then I had to install nb_conda_kernels into the base environment. For some reason on my work laptop if you change kernels in jupyter notebook to the environment with pystan installed, it doesn't use the correct environment path, so it can't find all the necessary files required to run fbprophet and pystan. But if you install the nb_conda_kernels, and select the environment e.g. 'Python [conda env:kats]' instead of just 'kats' it will load the correct path and the packages will work.

Hope this helps

from kats.

kgilpas avatar kgilpas commented on June 2, 2024 2

same as @bash-j went through all the requirements loaded those in first and specifically loaded in fbprophet==0.7 in a new environment before pip installing kats and it worked.

from kats.

d4rthm4ul avatar d4rthm4ul commented on June 2, 2024 2

I have had the same problem. Here is how I fixed it.

I created an new conda environment (python 3.8.10)

Installed fbprophet by:
conda install -c conda-forge fbprophet

And then installed kats by:
pip install kats

The origin of the problem is that some compilers aren't installed (gcc). Running the first command solves the problem. Hope it works for you as well :)

It worked for me.

from kats.

tncy67 avatar tncy67 commented on June 2, 2024

i created a new environment with no default packages in windows 10, installed kats and it worked fine. hope this helps

from kats.

mjt91 avatar mjt91 commented on June 2, 2024

I can second @kgilpas on that. After fixingt he requirements and did a fresh install it worked on my machine.

from kats.

ginodanimal avatar ginodanimal commented on June 2, 2024

I have had the same problem. Here is how I fixed it.

I created an new conda environment (python 3.8.10)

Installed fbprophet by:
conda install -c conda-forge fbprophet

And then installed kats by:
pip install kats

The origin of the problem is that some compilers aren't installed (gcc). Running the first command solves the problem. Hope it works for you as well :)

Worked for me too. python=3.8 or below

from kats.

mrokoo avatar mrokoo commented on June 2, 2024

Py 3.9 Can install it ?

from kats.

michaelbrundage avatar michaelbrundage commented on June 2, 2024

Kats is now on 0.2.0. Resolving this issue from Kats 0.1.0

from kats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.