运行
python manage.py runserver
报错:
Unhandled exception in thread started by
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 249, in raise_last_exception
six.reraise(*_exception)
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 115, in populate
app_config.ready()
File "/mnt/MxOnline/extra_apps/xadmin/apps.py", line 14, in ready
self.module.autodiscover()
File "/mnt/MxOnline/extra_apps/xadmin/__init__.py", line 49, in autodiscover
register_builtin_plugins(site)
File "/mnt/MxOnline/extra_apps/xadmin/plugins/__init__.py", line 43, in register_builtin_plugins
[import_module('xadmin.plugins.%s' % plugin) for plugin in PLUGINS if plugin not in exclude_plugins]
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/mnt/MxOnline/extra_apps/xadmin/plugins/importexport.py", line 48, in
from import_export.admin import DEFAULT_FORMATS, SKIP_ADMIN_LOG, TMP_STORAGE_CLASS
File "/usr/local/lib/python2.7/dist-packages/import_export/admin.py", line 31, in
from .resources import (
File "/usr/local/lib/python2.7/dist-packages/import_export/resources.py", line 4, in
import tablib
ImportError: No module named tablib