You can also come across this error if you have accidentally deleted the __init__.py file in the migrations folder.
__init__.py