jedlwk
April 22, 2023, 12:16pm
1
Hi Streamlit Community!
I faced the following problem when I was trying to deploy my app on Streamlit.
I have with me
requirements.txt
contractions==0.1.73
nltk==3.8.1
pandas==2.0.0
plotly==5.14.1
beautifulsoup4==4.12.2
streamlit==1.21.0
packages.txt
bs4-dev
BeautifulSoup-dev
pandas-dev
nltk-dev
contractions-dev
streamlit-dev
May I know what can I do to fix this error?
Thank you!!
Remove the packages.txt
file, you don’t need those packages and they even don’t exist at all.
jedlwk
April 22, 2023, 1:41pm
3
Hi Franky! Thanks so much for your response!
I have deleted the packages but I get a "ModuleNotFoundError: This app has encountered an error. " instead.
This is at the top of my app.py:
I only have requirements.txt and app.py file.
Is there something I am doing wrongly? Please advice! Thank you!!
Please share your public github repo link, otherwise we can only guess.
1 Like
Hi Streamlit Community!
Unfortunately, I have the same problem. My both apps are not working, although two weeks ago everything was fine. For example, the application https://ovttiras-hdac6-detector-hdac6-detector-app-zmr6bd.streamlit.app /. Today I tried to open it, but I got an error
I can’t delete the file packages.txt , since the py3Dmol module will not work without it.
My link to the project on github:
GitHub - ovttiras/HDAC6_detector
Thank you in advance!!!
Based on the error message, I suspect a temporary hiccup in the apt repositories. Try a redeploy again.
1 Like
jedlwk
April 24, 2023, 2:17am
7
jedlwk
April 25, 2023, 5:16am
8
Hi @Franky1 ! Sorry for bumping you but could you help take a look at this for me? Thank you!!
Goyo
April 25, 2023, 7:20am
9
You don’t have a requirements.txt
file.
1 Like
jedlwk
April 25, 2023, 2:38pm
10
Hi @Goyo . I am terribly sorry about this rookie mistake I made. Thanks for spotting that for me and my app works now! Thanks so much!!
system
Closed
April 27, 2023, 2:39pm
11
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.