I am facing issues while running streamlit docker image, I’m getting error "ModuleNotFoundError: No module named ‘altair.vegalite.v4’ " though i am not using altair in my script. I’m running this all on windows 10.
Please find below attached screenshot of Dockerfile, terminal and folder structure.
Could you also share the import statements from your StreamlitApp.py file. Perhaps it is a dependency for some of the libraries used in the app.
Hi @dataprofessor ,
please find below attached ss of requirements.txt file, i added altair in it after getting that error and built new image and tested it but getting same error.
@Franky1 do you want me to add “altair<5” in requirements.txt file?
Yes try with this again
@Franky1 Its working Thank You!!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.