trunk works tag doesn't? ---ImportError: No module named 2.1.2
非常困惑。 在我的
1 | python ./manage.py runserver 9090 |
但是当我
1 2 3 4 5 6 7 8 9 10 | Traceback (most recent call last): File"./manage.py", line 33, in execute_manager(settings) File"/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 360, in execute_manager setup_environ(settings_mod) File"/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 343, in setup_environ project_module = import_module(project_name) File"/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module __import__(name) ImportError: No module named 2.1.2 |
有什么明显的东西我不见了吗?
当项目目录包含句点时,Django不喜欢它。 在运行项目之前重命名它。