1

I'm new in the use of streamlit. I have an app and it work in the local way. But I tried to deploy this app and it seems that the library "io" isn't recognize. Does anyone know how to fix it ?

I've already tried several things but it doesn't works.

My repo is here :https://github.com/m-moriss/Data_challenge_RAKUTEN

I use "io" librairy in "donnees.py" and the I also put this librairy in the requirements.txt file.

Here the error message

Mtine
  • 21
  • 4

1 Answers1

1

StringIO is a class of the module and not a module itself.

Also, you doesn't need to include io in your requirements.txt since it's a python's built-in.

numpy
pandas
plotly
datasets
Pillow
streamlit
streamlit-option-menu
dataset
nltk
scikit-learn
wordcloud
tensorflow
StringIO # <- remove this line
Timeless
  • 22,580
  • 4
  • 12
  • 30