# Help - Error deploy

**URL:** <https://discuss.streamlit.io/t/help-error-deploy/65152>\
**Category:** Community Cloud\
**Tags:** discussion, streamlit-cloud\
**Created:** [March 20, 2024, 4:11pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152 "2024-03-20T16:11:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![naicm12](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/naicm12/32/40443_2.png) [@naicm12](https://discuss.streamlit.io/u/naicm12)\
**Post date:** [March 20, 2024, 4:11pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/1 "2024-03-20T16:11:00Z")

</div>

Error when performing deploy.

I’m starting out in Python and I’m using the codespace directly on Github for this application. and running it on github it works perfectly, and when I try to publish this message appears

 ![Captura de tela 2024-03-20 113512](https://global.discourse-cdn.com/streamlit/original/3X/c/8/c8c94653b45c1b93cedbfce8950c12abe718ae56.png)

PS:  
Sorry for the writing errors, I’m Brazilian and I don’t speak English hehehe

---

<div class="post-metadata">

**Author:** ![dataprofessor](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/dataprofessor/32/44163_2.png) [@dataprofessor](https://discuss.streamlit.io/u/dataprofessor)\
**Post date:** [March 21, 2024, 11:57am UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/2 "2024-03-21T11:57:11Z")

</div>

Hi @naicm12

The error message hints that there is an issue with installing library dependencies.

Could you share your app repo or requirements.txt file.

---

<div class="post-metadata">

**Author:** ![naicm12](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/naicm12/32/40443_2.png) [@naicm12](https://discuss.streamlit.io/u/naicm12)\
**Post date:** [March 21, 2024, 12:43pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/3 "2024-03-21T12:43:54Z")

</div>

Thanks for answering!

```auto
attrs==23.2.0
charset-normalizer==3.3.2
click==8.1.7
decorator==5.1.1
defusedxml==0.7.1
docopt==0.6.2
executing==2.0.1
gitdb==4.0.11
GitPython==3.1.41
ipython==8.12.3
opencv_python_headless==4.8.1.78
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mysqlclient==2.2.4
nbclient==0.10.0
nbconvert==7.16.2
nbformat==5.10.3
numpy==1.26.4
packaging==23.2
pillow==10.2.0
pipreqs==0.5.0
platformdirs==4.2.0
prompt-toolkit==3.0.43
protobuf==4.25.3
ptyprocess==0.7.0
pyarrow==15.0.2
pydeck==0.8.1b0
Pygments==2.17.2
pyotp==2.9.0
python-dateutil==2.9.0.post0
referencing==0.34.0
requests==2.31.0
smmap==5.0.1
soupsieve==2.5
SQLAlchemy==2.0.28
Streamlit==1.24.0
urllib3==2.2.1
watchdog==4.0.0
wcwidth==0.2.13
webencodings==0.5.1

```

---

<div class="post-metadata">

**Author:** ![Guna\_Sekhar\_Venkata](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/guna_sekhar_venkata/32/44735_2.png) [@Guna\_Sekhar\_Venkata](https://discuss.streamlit.io/u/Guna_Sekhar_Venkata)\
**Post date:** [March 21, 2024, 2:31pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/4 "2024-03-21T14:31:09Z")

</div>

Hey @naicm12 . Dou you need all the mentioned dependencies? May some of them causing the errors due to version compatibility!!

---

<div class="post-metadata">

**Author:** ![naicm12](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/naicm12/32/40443_2.png) [@naicm12](https://discuss.streamlit.io/u/naicm12)\
**Post date:** [March 21, 2024, 2:45pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/5 "2024-03-21T14:45:18Z")

</div>

So my friend,  
I’m just starting out and I don’t understand almost anything. I got this requirements.txt from somewhere else hehe.

Initially I’m testing to see if I can publish this application and only then will I actually implement the code.

So I just need to get that connection.

Below is the code:

 ![Captura de tela 2024-03-21 105309](https://global.discourse-cdn.com/streamlit/original/3X/2/d/2d2f2bb7ad04ad1fff168501b6af299772e82509.png)

It works here! but when I publish it it doesn’t work

Thank you!

---

<div class="post-metadata">

**Author:** ![Guna\_Sekhar\_Venkata](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/guna_sekhar_venkata/32/44735_2.png) [@Guna\_Sekhar\_Venkata](https://discuss.streamlit.io/u/Guna_Sekhar_Venkata)\
**Post date:** [March 21, 2024, 4:10pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/6 "2024-03-21T16:10:40Z")

</div>

@naicm12 then change the `requirements.txt` as follows:-

```auto
streamlit
sqlalchemy

```

Don’t forget to reboot the application after updating the dependencies file.

Hope it works well

Happy Streamlit-ing 🎈

---

<div class="post-metadata">

**Author:** ![naicm12](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/naicm12/32/40443_2.png) [@naicm12](https://discuss.streamlit.io/u/naicm12)\
**Post date:** [March 21, 2024, 5:36pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/7 "2024-03-21T17:36:06Z")

</div>

Did not work  
initially there was an error in MySQLdb,  
I removed it from import and tested it on github and it worked, then I tried to upload it and it gave the error below:

 ![image](https://global.discourse-cdn.com/streamlit/original/3X/0/a/0a4d0c02f62b4e01bb29e4fb2adc99d274cdcda8.png)

my requirements.txt looked like this:  
 ![image](https://global.discourse-cdn.com/streamlit/original/3X/0/3/035e583a8a18ba9312b76f7fd641ea2c34c65c8b.png)

In any case, thank you very much for your help

---

<div class="post-metadata">

**Author:** ![Goyo](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/goyo/32/28219_2.png) [@Goyo](https://discuss.streamlit.io/u/Goyo)\
**Post date:** [March 21, 2024, 6:07pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/8 "2024-03-21T18:07:49Z")

</div>

> [@naicm12](#):
>
> it gave the error below

I can’t see any errors in your screenshot.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [September 17, 2024, 6:08pm UTC](https://discuss.streamlit.io/t/help-error-deploy/65152/9 "2024-09-17T18:08:24Z")

</div>

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