ModuleNotFoundError: No module named 'mysql'

Everything works fine on my local pc and on "Edit with CodeSpaces, but when I try to use streamlit sharing, I am getting this error: ModuleNotFoundError: No module named ‘MySql.’

MySql included in the requirements file.

image

Thanks!

file name must be: requirements.txt

It worked, thaks!

Could you, please, check this error too? In local machine and “CodeSpaces” I’m not getting this one, just when I try to submit the answer in production.

  • file name is still wrong
  • the variable input_data is not defined

It worked.
I made a mistake about the .txt file and I wrote the variable wrong.

100% functional.

Thanks.

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