streamlit - I'm trying to use Prophet from fbprophet but I'm getting this excuciatingly long error message no idea what's suppose to mean? - TagMerge
2I'm trying to use Prophet from fbprophet but I'm getting this excuciatingly long error message no idea what's suppose to mean?I'm trying to use Prophet from fbprophet but I'm getting this excuciatingly long error message no idea what's suppose to mean?

I'm trying to use Prophet from fbprophet but I'm getting this excuciatingly long error message no idea what's suppose to mean?

Asked 1 years ago
2
2 answers

/fbprophet/models.py", line 209, in build_model import pystan ModuleNotFoundError: No module named 'pystan' ---------------------------------------- ERROR: Command errored out with exit status 1

This is your error message. Have you installed pystan ?

If you have and are still getting this error then try uninstalling pystan and install a older version.

I had the same issue and the below worked for me:

Step 1: Uninstall pystan

pip uninstall pystan

Step 2: Install pystan version ~2.14

pip install pystan~=2.14

**Step 3: Try installing fbprophet again **

pip install fbprophet

Reference.

Source: link

0

After making sure you have the right python version. Update apt and install following libraries.

sudo apt update
sudo apt install python3-dev python3-pip python3-venv

use python3 -m pip to install pystan and prophet

python3 -m pip pystan 
python3 -m pip prophet

Source: link

Recent Questions on streamlit

    Programming Languages