我创建了一个django (1.6.1) 项目并使用mongodb。 当我运行python manage.py runserver 0.0.0.0:8000
启动服务器时,它给我以下错误:
File "D:\Python34\lib\importlib\__init__.py", line 129, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2186, in _gcd_import
File "<frozen importlib._bootstrap>", line 2169, in _find_and_load
File "<frozen importlib._bootstrap>", line 2158, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1209, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1133, in _exec
File "<frozen importlib._bootstrap>", line 1432, in exec_module
File "<frozen importlib._bootstrap>", line 1537, in get_code
File "<frozen importlib._bootstrap>", line 1497, in source_to_code
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "D:\Python34\lib\site-packages\django_mongodb_engine\base.py", line 234
raise ImproperlyConfigured, exc_info[1], exc_info[2]
^
SyntaxError: invalid syntax
这个错误的含义是什么?
django-mongodb-engine-py3
的包。 - falsetru