First Install Microsoft visual build Tools, then Proceed

conda create -n stan_env python=3.7
conda activate stan_env
activate stan_env
conda install libpython m2w64-toolchain -c msys2
conda install numpy cython -c conda-forge
conda install matplotlib scipy pandas -c conda-forge
pip install pystan
or
conda install pystan -c conda-forge
pip install fbprophet
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

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.

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