python console django Error:Cannot start process, the working directory '' does not

在运行django程序时想在console里面调试一下models可是打不开,出现:

ImproperlyConfigured: 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.

这个情况以前没有出现过呀,
python console django Error:Cannot start process, the working directory '' does not
后来发现
python console django Error:Cannot start process, the working directory '' does not
在这个地方打开的,不太对,后来打开python Console,发现根本打不开。。

Error:Cannot start process, the working directory '' does not exist

一顿百度之后,发现:这个目录不太对,不是工程的目录,是工程目录的上一级,重新打开,nice
python console django Error:Cannot start process, the working directory '' does not

python console django Error:Cannot start process, the working directory '' does notpython console django Error:Cannot start process, the working directory '' does not Nvidia fuck you 发布了65 篇原创文章 · 获赞 28 · 访问量 6066 私信 关注
上一篇:解决 The file will have its original line endings in your working directory


下一篇:自用 leetcode 41 全排列