First Install Microsoft visual build Tools, then Proceed

1. Create a virtual Environment by following commands

conda create -n stan_env python=3.7
conda activate stan_env
activate stan_env

2. Installing C++ compile by the following commands

conda install libpython m2w64-toolchain -c msys2

3. Install Dependencies

conda install numpy cython -c conda-forge
conda install matplotlib scipy pandas -c conda-forge

4. Install Pystan

pip install pystan
conda install pystan -c conda-forge

5. Install fbprophet

pip install fbprophet

6. Add the virtual environment in your Kernel

pip install --user ipykernel
python -m ipykernel install --user --name=myenv




Simran Bhurat

Simran Bhurat

Every day appears to me as a new day with creative ideas and opportunities to embrace. Each opportunity instils the feeling of eagerness to succeed.