ModuleNotFoundError: No module named 'seaborn'

Hello.

I am trying to deply a stream app at https://github.com/ffreemt/st-bumblebee-aligner/blob/master/st_app.py. st_app.py runs alright locally and with git clone.

But when I try to run st_app.py at stream.io (https://share.streamlit.io/ffreemt/st-bumblebee-aligner/st_app.py). I got

ModuleNotFoundError: No module named 'seaborn'

seabon in in requirements.txt (https://github.com/ffreemt/st-bumblebee-aligner/blob/master/requirements.txt):

 seaborn==0.11.0 \
--hash=sha256:62439a38482decdb263a8339f54ecb9823995ad8716abc830e91ca0753201e70 \
--hash=sha256:390f8437b14f5ce845062f2865ad51656464c306d09bb97d7764c6cba1dd607c

What could be the problem? Thanks very much for any help or pointers.

Hi @mikeie -

Why is all of the conditional logic in the requirements.txt file? If you just specify the actual requirements for this app for the version of Python you’re using, it should work.

Best,
Randy

OK I give it a try. Thanks very much…

The reqirements.txt was generated by poetry export -f requirements.txt > requirements.txt. The original project uses poetry and does not have a reuqiremens.txt file.