You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Update: can ignore most of the above as i've found workarounds / solutions.
Except for the request for improved documentation please @ https://docs.posit.co/shinyapps.io/guide/getting_started/#working-with-shiny-for-python to include instructions on requirements.txt (starting with the fact that such a file is recommended)
Thanks for the great resource!
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:
git clone
then apip install
command in my app, because I'm installing from a repository (not a package available in pypi)git clone
,pip install
commandsPlease could someone help? I can't see any running/sleeping apps on shinyapps.io which I can terminate.
thanks in advance!
The text was updated successfully, but these errors were encountered: