Hello guys,
I have the following error when deploying my app:
On the logs this is what i get
2021-04-01T05:52:53.707966+00:00 shinyapps[3895664]: Killed
2021-04-01T05:52:53.715789+00:00 shinyapps[3895664]: Error in value[3L] :
2021-04-01T05:52:53.715790+00:00 shinyapps[3895664]: Error installing package(s): 'keras', 'pandas', 'numpy', 'scipy', 'scikit-learn', 'tensorflow-cpu', 'pillow'
2021-04-01T05:52:53.715824+00:00 shinyapps[3895664]: Ejecución interrumpida
2021-04-01T05:52:53.715792+00:00 shinyapps[3895664]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
2021-04-01T05:52:53.891988+00:00 shinyapps[system]: Out of memory!
This is due to the global.R file which has the following lines:
virtualenv_create(envname = "python_environment", python= "python3")
virtualenv_install("python_environment", packages = c('keras', 'pandas','numpy','scipy','scikit-learn', 'tensorflow-cpu','pillow'))
reticulate::use_virtualenv("python_environment", required = TRUE)