How to solve the problem – django.core.exceptions.appregistrynotready: apps aren’t loaded yet.? I have the sample detail: import os import sys path = '/Users/Peterhon/Desktop/dict/' if path not in sys.path: sys.path.append(path) os.chdir(path) os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dict.settings") ...