Installation of fbprophet in Anaconda(On Windows)

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
or
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

References:


https://janakiev.com/blog/jupyter-virtual-envs/
https://pystan.readthedocs.io/en/latest/windows.html

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
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.