'Django server not starting after importing python project as package

I have a deep learning python project named 'predict'. I want to use it in my django views so I use from predict.Prediction import Prediction where predict = root directory of python project, Prediction.py is the file that I need to use. Whenever I run python manage.py runserver, I get the error as: Server not starting issue.

I have the init file in the root folder predict (python project) structure.

I am stuck on this from long and clueless as to what is the issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source