I have put openpyxl in my requirememts.txt file and still getting error ImportError: Missing optional dependency ‘openpyxl’. when deployed my app.
Yes that is correct on adding openpyxl
to requirements.txt file. Was this added after the app was deployed. It often helps to also reboot the app in order to ensure that the newly added library is installed after the server reboots.
Hope this helps!
also added my my requiremet.txt file content.
streamlit
pandas
numpy
openpyxl==3.0.14
Could you recheck the spelling of the file, it’s currently misspelled (missing an n
and an s
):
It should be requirements.txt