signaturescience / focustools

Forecasting COVID-19 in the US
https://signaturescience.github.io/focustools/
GNU General Public License v3.0
0 stars 0 forks source link

problem with install method for python validate wrapper #19

Closed vpnagraj closed 3 years ago

vpnagraj commented 3 years ago

after testing on a new system it looks the python wrapper actually needs a few other dependencies.

need to change this code to include the following:

and make sure reticulate::py_install(..., pip = TRUE)

vpnagraj commented 3 years ago

fixed in dee4ca12d83da1ec6dc4724e256c0b96496b45f0

stephenturner commented 3 years ago

What python env does this go to if you don't activate a conda env?

vpnagraj commented 3 years ago

good question. i'm using reticulate::py_install() and by default the install goes to a "r-reticulate" virtualenv:

validate_forecast("submission/SigSci-TS/2021-01-11-SigSci-TS.csv", install = TRUE)
Using virtual environment '~/.virtualenvs/r-reticulate' ...

https://rstudio.github.io/reticulate/articles/python_packages.html#simple-installation