开发者

django core exceptions ImproperlyConfigured:

I had my django up and running last night at around midnight, everything was kawa when i closed but in the morning when i open my pc i get django.core.exceptions.ImproperlyConfigured: error

!error

Note that only Django core commands are listed as settings are not prope开发者_高级运维rly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.).

I tried closing the VScode and Terminal, reopened them, started virtualenvironment again but the error persists

\env\Scripts\python.exe: No module named django

I have django installed on the virtudal env as well as set as a global environment variable thanks in advance

I expected python to get django installed on the virtual environment

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜