I've just deploy a flexdashboard "successfully" yet the app doesn't work: it links to a page with just "not found" on it. Here's the full app upload transcript:
Preparing to deploy application...DONE
Uploading bundle for application: 857453...DONE
Deploying bundle: 2005872 for application: 857453 ...
Waiting for task: 604267183
building: Processing bundle: 2005872
building: Parsing manifest
building: Building image: 2108212
building: Installing system dependencies
building: Fetching packages
building: Building package: reticulate
building: Building package: tensorflow
building: Building package: keras
building: Installing packages
building: Installing files
building: Pushing image: 2108212
deploying: Starting instances
rollforward: Activating new instances
success: Stopping old instances
Application successfully deployed to https://xxxx.shinyapps.io/xxxx/
1: invalid uid value replaced by that for user 'nobody'
2: invalid gid value replaced by that for user 'nobody'
I thought the error had to do with the warning messages above but i've checked the logs and the point of failure seems to be with reticulate:
warning: using reticulate but python was not specified; will use python at /usr/bin/python Did you forget to set the RETICULATE_PYTHON environment variable in your .Rprofile before publishing?
I checked what python installation my local reticulate uses with:
and i edited the .RProfile to match it:
Sys.setenv(RETICULATE_PYTHON = "/Users/xxxx/anaconda3/envs/r-tensorflow/bin/python")
but it's still producing the same "not found" error when i deploy on shinyio. Any idea how to fix this?