Hello, I am currently using cmdstanpy to fit a model against a bunch of data sequentially. In particular, I use a pandas .apply()
method.
Inside the cmdstanpy function, I have the usual
import cmdstanpy
cmdstanpy.install_cmdstan()
from cmdstanpy import CmdStanModel
and cmdstan is installed if it isn’t installed already.
My question is this: how can I determine if cmdstan is installed without calling install_cmdstan()
(I am hitting the server everytime I make the install_cmdstan() call).
Thanks