WillKoehrsen / Data-Analysis

Data Science Using Python
https://medium.com/@williamkoehrsen/
MIT License
5.16k stars 3.64k forks source link

Package Installation 2018 #13

Closed shwin12345 closed 5 years ago

shwin12345 commented 6 years ago

I just had a question about how you installed your packages... I am having issues installing pystan because it requires a C++ compiler, however, I am not able to install one. This then affects the installation of fbprophet. If you could explain what you did, that would be of great help.

Thanks!

VK9999 commented 6 years ago

Hello Shwin,

Try to install visual studio 2015 IDE and it should resolve that issue.

VictorHM commented 5 years ago

This helped me to install the compiler and get it set up

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

The key part is this conda install libpython m2w64-toolchain -c msys2

WillKoehrsen commented 5 years ago

You can use conda to install a C++ compiler as recommended by @VictorHM.

I use mingw installed with Anaconda (I'm on Windows which might affect the compiler required). conda install mingw should work.