Streamlit with fbprophet

Hi,

I failed to install fbprophet with streamlit, or vice-versa.

error during installation
https://pastebin.com/an5v2gTz

TLDR steps that I took

  1. create and activate new env using Anaconda
  2. use conda to install pip
  3. pip install streamlit
  4. conda install fbprophet.
    • fbprophet -> python[version=‘2.7.|3.5.|3.6.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0’]
  • Your python: python=3.8

  • If python is on the left-most side of the chain, that’s the version you’ve asked for.

  1. When python appears to the right, that indicates that the thing on the left is somehow

  2. not available for the python version you are constrained to. Note that conda will not

  3. change your python version to a different minor version unless you explicitly specify

  4. that.

is this the problem? the python version 3.8.1 is too new for both libraries?

Thanks.

documenting it and managed to solved it doing the following.
Not sure the source of the problem is 3.7 as previously I was using 3.8.1(latest)

TLDR

conda create --name streamprophet37 python=3.7 pip #use python 3.7
conda activate streamprophet #activate the environment
conda install libpython m2w64-toolchain -c msys2 # install compiler
conda install numpy cython matplotlib scipy pandas -c conda-forge #ensure dependencies
pip install pystan
pip install fbprophet

more info:
https://pystan.readthedocs.io/en/latest/windows.html


full installation
https://pastebin.com/cjfLBNSw