【发布时间】:2009-05-26 14:45:21
【问题描述】:
当我尝试使用 syncdb 时出现错误:
python manage.py syncdb
错误信息:
File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 83, in __init__
raise EnvironmentError, "Could not import settings '%s' (Is it on sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
EnvironmentError: Could not import settings '/home/simi/workspace/hssn_svn/hssn' (Is it on sys.path? Does ti have syntax errors?): Import by filename is not supported.
我是 Django/Python 的新手,但是在网上研究了一段时间后,我无法弄清楚这个错误。
【问题讨论】:
标签: python django django-syncdb