Hi everyone,
I'm having trouble deploying a Shiny app to shinyapps.io that uses Python via the reticulate package. The app runs perfectly locally — the Python environment is detected and everything works as expected. But when I deploy it, I get the following error:
[Insert key error message here, e.g., “Warning: The reticulate package is installed but no Python environment is available...”]
This is my .Rprofile:
Sys.setenv(RETICULATE_PYTHON = "/Users/kivanov/.virtualenvs/r-reticulate/bin/python")
Here’s some context:
- Python version: 3.11.8
- R version: 4.5.0
.Rprofile
is in the same folder asapp.R
and the dataset files
I'd really appreciate any tips or guidance to get this working. Thank you so much!