[英]Django Module base not found
I'm developing with Mac OS X Lion with python 2.6 and Django from the trunk. 我正在开发Mac OS X Lion和python 2.6以及来自主干的Django。 I created an app named base, when I launch runserver this message appears :
我创建了一个名为base的应用程序,当我启动runserver时会出现以下消息:
Error: No module named base
I checked my sys.path, it is good. 我检查了我的sys.path,这很好。 So I deleted the app, and when i'm doing a runserver or syncdb i still have the same error.
所以我删除了应用程序,当我正在运行runserver或syncdb时,我仍然有同样的错误。
Maybe there is already a python module named "base", but i deleted my base app and the error still here. 也许已经有一个名为“base”的python模块,但我删除了我的基本应用程序,错误仍然在这里。
If someone has any idea... Thanks 如果有人有任何想法...谢谢
I checked my sys.path, it is good.
我检查了我的sys.path,这很好。 So I deleted the app, and when i'm doing a runserver or syncdb > i still have the same error.
所以我删除了应用程序,当我正在运行runserver或syncdb时>我仍然有同样的错误。
You need to remove all .pyc files. 您需要删除所有.pyc文件。
Error: No module named base
错误:没有名为base的模块
Did you add base app to your settings.py? 您是否已将基本应用添加到settings.py中?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.