我正在尝试使用django,pycham和python创建一个网站。 尝试运行代码时出现此错误。有人可以帮我吗?
Traceback (most recent call last):
File "C:/Users/Akriti/Documents/santulitahar/santulitahar/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Users\Akriti\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django-1.9-py3.7.egg\django\core\management\__init__.py", line 350, in execute_from_command_line
utility.execute()
File "C:\Users\Akriti\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django-1.9-py3.7.egg\django\core\management\__init__.py", line 342, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\Akriti\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django-1.9-py3.7.egg\django\core\management\__init__.py", line 176, in fetch_command
commands = get_commands()
File "C:\Users\Akriti\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django-1.9-py3.7.egg\django\core\management\__init__.py", line 71, in get_commands
for app_config in reversed(list(apps.get_app_configs())):
File "C:\Users\Akriti\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django-1.9-py3.7.egg\django\apps\registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "C:\Users\Akriti\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django-1.9-py3.7.egg\django\apps\registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
Process finished with exit code 1