python manage.py startapp messange123 新建应用,一直报错
来源:6-2 django目录结构解析-2
weixin_慕雪8166653
2022-05-29
(mxoline) wangk@wangk-VirtualBox:~/PycharmProjects/djangoMessageProject$ python manage.py startapp messange123
Traceback (most recent call last):
File “manage.py”, line 21, in
main()
File “manage.py”, line 17, in main
execute_from_command_line(sys.argv)
File “/home/wangk/.virtualenvs/mxoline/lib/python3.8/site-packages/django/core/management/init.py”, line 381, in execute_from_command_line
utility.execute()
File “/home/wangk/.virtualenvs/mxoline/lib/python3.8/site-packages/django/core/management/init.py”, line 325, in execute
settings.INSTALLED_APPS
File “/home/wangk/.virtualenvs/mxoline/lib/python3.8/site-packages/django/conf/init.py”, line 79, in getattr
self._setup(name)
File “/home/wangk/.virtualenvs/mxoline/lib/python3.8/site-packages/django/conf/init.py”, line 66, in _setup
self._wrapped = Settings(settings_module)
File “/home/wangk/.virtualenvs/mxoline/lib/python3.8/site-packages/django/conf/init.py”, line 157, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “
1回答
-
bobby
2022-05-31
你留个qq 我加你看看
00
相似问题