Skip to content

Unable to Deploy Shiny for Python app to Shiny Apps IO #455

Closed as not planned

Description

@erikhall6373

Using various combinations of versions for rsconnect and Python, I consistently get the following errors when trying to deploy to Shiny Apps IO:

image

My app works locally. Also have had no luck when trying to deploy through ShinyLive, even with using specific packages laid out here: https://shiny.posit.co/py/docs/shinylive.html

I'm not incredibly technical, so I'm pretty stuck currently on how to proceed.

Activity

  1. nealrichardson commented on Jul 26, 2023

    @nealrichardson
    Contributor

    Thanks for your report. Could you try installing the latest rsconnect-python from github via pip install git+https://github.com/rstudio/rsconnect-python.git@master? There's a change (#453) that hasn't been released yet that should at least tell us why shinyapps.io is failing.

    Is your app code public, or available to share here? That would be useful to help us debug.

    One shot in the dark: do you have a requirements.txt file for your app? Without one, I've personally had an app deployment fail at this stage because if there is no requirements.txt, it will do pip freeze and then shinyapps.io will try to install everything that's in your local (virtual)env. But if you have a requirements.txt, it will only install what you specify there.

  2. tdstein commented on Nov 10, 2026

    @tdstein
    Collaborator

    🤖 Closing as not planned: shinyapps.io is being decommissioned, so this shinyapps.io-specific issue will not be worked on. For moving your content off shinyapps.io, see the migration guide: https://docs.posit.co/shinyapps.io/guide/migration/

    If this also affects deploys to Posit Connect or Connect Cloud, please comment and we will reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions