My streamlit app cannot be deployed

Hi Streamlit team and contributors,

I am trying to deploy on streamlit cloud my application and I get the following in the log. Do not really know how to troubleshoot this.

this is where it is stuck and the RUNNING… is persistent

Here is the link to the github repo link .

Just to clarify - the log screenshot is from the window that pops up while the app is being deployed for the first time on the cloud.

Thanks a lot

Hi @greek_quant,

Thank you for sharing your question with the community!

Your post is missing a code snippet and link to your app’s GitHub repo. Please check out our guidelines on how to post an effective question here and update your post to help the community answer your question.

Thanks for the directions and the prompt response @Caroline.

I do not think the code itself has any errors, or at least I think so, so I haven’t posted any snippet related to my code. The code runs locally as usual with no errors. However, I have added the link to the GitHub repo as you mentioned.

The error message that you are seeing is PyWRY telling you that additional dependencies are needed, in particular, the libwebkit2gtk-4.0-dev package. Streamlit Cloud is a Linux Debian machine and according to the platform-specific notes of PyWRY, there is just this extra step to get the package running on Linux.

Check https://docs.streamlit.io/streamlit-community-cloud/get-started/deploy-an-app/app-dependencies for more details, but in a nutshell, adding libwebkit2gtk-4.0-dev to your app dependencies should do the trick, i.e., in a packages.txt file.

2 Likes

@edsaac Thank so much.

This worked. The app is up and running!

I appreciate the prompt response!

Cheers

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.