Error publishing app on streamlit cloud

My apps run normally on my machine. However, when I use streamlit cloud the following error appears

’ AttributeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)File "/app/pap_meteor/import_csv.py", line 219, in <module>
    main()File "/app/pap_meteor/import_csv.py", line 28, in main
    data.to_csv('data.csv',sep=option)
``` '
The git requirements.txt are:
pip
streamlit
pandas
numpy
matplotlib
scipy

Can anyone help?

That’s not enough information.
Please share a link to your public github repo.
Btw, remove pip from the requirements.txt file.

I removed it but the error persists
Requeriments pap_meteor/requirements.txt at main · walingsonCostaUnemat/pap_meteor · GitHub
Code pap_meteor/import_csv.py at main · walingsonCostaUnemat/pap_meteor · GitHub

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