I have a shiny app that requires python code. Source_python works fine when I call it from RStudio, but when I run the shiny app (sourcing the python file from within app.R), the python code is not available.
I am using a virtual python environment with all dependencies installed. I called py_config() from RStudio as well as from within the shiny app, and the output was identical.
Any idea why this is still not working?