greta-dev / greta

simple and scalable statistical modelling in R
https://greta-stats.org
Other
527 stars 63 forks source link

consider using `reticulate::import` to check python module version in the future #492

Open njtierney opened 2 years ago

njtierney commented 2 years ago

We could consider use reticulate::import instead of py_module_available() in the future, as that was obfuscating an error message that stated TF verison 2.7.0 is required for TFP version 0.15.0. Since py_module_available() is just a tryCatch wrapper, we could probably write something that is more suitable for our purposes