Skip to content

problems with deploying a py-shiny app to shinyapps.io #1758

@cainesap

Description

@cainesap

Hello,
I'm having some issues in deploying a Shiny for Python app (which works ok locally) to shinyapps.io, which I'll list here:

  • I think it may relate to installation of dependencies. I hadn't created a requirements.txt file, as this wasn't specified in the documentation (request 1 is to improve the documentation for deployment to shinyapps.io for py-shiny apps)
  • Even though deployemment failed, I think that it created an application in my account, because when I tried to deploy the app again the new error was that I had hit my limit of apps for my account (this new app did not show in the shinyapps.io applications list, but I could terminate it with rsconnect::terminateApp() in R).
  • I did manage to deploy an app after fixing the above, but then the app failed because I had a "pip install" command in my app, and this command was not permitted
  • I have a git clone then a pip install command in my app, because I'm installing from a repository (not a package available in pypi)
  • So I wonder how to do this: shall I have virtualenv in requirements.txt, then activate it from the app, and run the git clone, pip install commands
  • However, I can't test the question above because I'm currently getting a deployment error as follows:
Deploying bundle ... 	[ERROR]: shinyapps.io reported an error (calling /v1/applications/13222535): Not Found
Error: shinyapps.io reported an error (calling /v1/applications/13222535): Not Found

Please could someone help? I can't see any running/sleeping apps on shinyapps.io which I can terminate.
thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions