I tried to deploy my app on streamlit cloud, but it’s giving me a ModuleNotFoundError : No module named ‘ConfigParser’. This happened when I added the library “Janitor” to my requirements.txt.
Can you share the contents of your requirements file? It looks like the repo might be private – specifically, do you have “ConfigParser” in your requirements file?
Thanks for reaching out!
I have the repo as “Public”
I can share the contents of requirements.txt file:
I tried two ways - by having configarser in requirements.txt and without including it in requirements.
Both did not work.
@Caroline yes below is a screenshot of my py file which uses janitor, I do not have an import configparser anywhere, were you able to open the link to my github repo?
I am not sure where the configparser came from on streamlit cloud, but it started throwing an error only when I added import janitor in my script
I replaced “janitor” with “pyjanitor” in requirements.txt and it worked, I completely overlooked the fact that I am installing “pyjanitor” and importing it using “janitor”