Deployment is failing due module not installed

I have to used the module pyreadstat in the app and for that i used the requirements.txt and packages.txt in the projects folder. in the requirements i mentionedpyreadstat and in the packages file i mentioned the libiconv then when i deploy i get the following error


I don’t think you need to install libiconv in streamlit cloud. It is provided as part of libc6, that should be already installed.

I agree with you @Goyo , I removed the packages.txt file from the project and I still get the error but now a different error as below

I still have the requirements.txt file with pyreadstat

requirements.txt file content

Streamlit cloud cannot read files in your computer.

But I am deploying the app from github

Streamlit cloud knows nothing about your C: drive.

I agree with you, I updated the code to use tempfile module to temporarily save the uploaded file and use it.