I got this error while trying to deploy Python in Docker - "ModuleNotFoundError: No module named 'FolderInStructure'" - what am I doing wrong?

Asked 2 years ago

I have an application that I'd like to deploy, and I'd like to connect all the different parts of the project. However, I keep getting the same error - ModuleNotFoundError - No module named "FolderInStructure". What can I do about it?

Anderson Prince

Sunday, October 09, 2022

You probably encountered this issue when deploying the app with Docker. In the majority of cases, an issue like this arises due to a problem with the virtual environment or the path. Consider reinstalling system dependencies, declaring paths and installing the project from scratch. Deleting cache and updating to a newer version of Python can also help.





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?