Import modules and packages causing a bit of issues - can anyone identify the main reason for my alembic migration would not run ?
Here is my project Layout
![[Image: Capture.png]](https://i.ibb.co/0ZfjCkh/Capture.png)
When I run the command
![[Image: manage.png]](https://i.ibb.co/fdCKQKq/manage.png)
here the senders.py in the app/API
![[Image: sender.png]](https://i.ibb.co/4J52T2N/sender.png)
here the sender_model.py in the app/models
![[Image: sender-model.png]](https://i.ibb.co/CtdJYT5/sender-model.png)
and finally here is myapp.py in the app package
- Python VERSION : 3.7.2
- I run THE pythons command on WINDOWS The App runs with no problem but the alembic migration will not migrate or upgrade
- Also i changed few time modules and packages names.
Here is my project Layout
![[Image: Capture.png]](https://i.ibb.co/0ZfjCkh/Capture.png)
When I run the command
python manage.py db migrateI get he below error:
Error:Traceback (most recent call last): File "manage.py",
line 3, in from myapp import app,
db File "C:\Repositories\sendeasy\app\myapp.py",
line 8, in from api.Senders import senders_api
File "C:\Repositories\sendeasy\app\api\Senders.py",
line 3, in from sender_model import *
ModuleNotFoundError: No module named 'sender_model'
Here is the manage.py in the app package.![[Image: manage.png]](https://i.ibb.co/fdCKQKq/manage.png)
here the senders.py in the app/API
![[Image: sender.png]](https://i.ibb.co/4J52T2N/sender.png)
here the sender_model.py in the app/models
![[Image: sender-model.png]](https://i.ibb.co/CtdJYT5/sender-model.png)
and finally here is myapp.py in the app package
![[Image: myapp.png]](https://i.ibb.co/yRyJH5d/myapp.png)