stan-dev / httpstan

HTTP interface to Stan, a package for Bayesian inference.
ISC License
40 stars 15 forks source link

support windows #632

Closed shadowcrow0 closed 1 year ago

shadowcrow0 commented 1 year ago

I am user for windows. We run experiment on windows platform in school. The school prefers windows system.Our experiment rely on pystan. we need to install virtual machine build the experiment on linux. Is it possible to have a windows version?

bob-carpenter commented 1 year ago

You might consider running cmdstanpy, which is easier to get running under Windows because it cuts out a binary dependency. It doesn't have all the functionality of pystan3 for things like evaluating log densities or performing transforms, but if you only want to fit models, it should be fine.

riddell-stan commented 1 year ago

This is addressed in the PyStan FAQ: https://pystan.readthedocs.io/en/latest/faq.html#is-windows-supported

Is Windows supported? If WSL2 works for you, then the answer is “yes,” otherwise the answer is “no.” Experience has proven that supporting PyStan on Windows is challenging and requires a considerable investment of resources. If you would like to fund the development and ongoing maintenance of a version of PyStan which works on Windows, please post your proposal for discussion on the Stan forum.