我正在使用此说明安装 edX 平台(http://nkokkos.wordpress.com/2013/10/09/setting-up-edx-platform-on-ubutnu/),我跟着;每一步都成功,但是./manage.py lms syncdb –migrate
,我面临这个错误:
Traceback (most recent call last):
File "manage.py", line 90, in <module>
startup = importlib.import_module(edx_args.startup)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/home/peyman/dev/edx/lms/startup.py", line 9, in <module>
settings.INSTALLED_APPS # pylint: disable=W0104
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 53, in __getattr__
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 134, in __init__
raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'lms.envs.dev' (Is it on sys.path?): No module named xblock.fields
我该如何解决?