jpadilla / django-rest-framework-xml

XML support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-xml
BSD 3-Clause "New" or "Revised" License
86 stars 59 forks source link

Python 3.7 Django 2.2.3 anaconda3 <frozen importlib._bootstrap> #42

Closed ghost closed 5 years ago

ghost commented 5 years ago

What's wrong? can someone help me?

django version is '2.2.3' conda version : 4.7.10 conda-build version : 3.18.8 python version : 3.7.3.final.0

/Users/gwoninkenji/anaconda3/lib/python3.7/importlib/init.py changed, reloading. Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "/Users/gwoninkenji/anaconda3/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/Users/gwoninkenji/anaconda3/lib/python3.7/threading.py", line 865, in run self._target(*self._args, self._kwargs) File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/utils/autoreload.py", line 54, in wrapper fn(*args, *kwargs) File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run autoreload.raise_last_exception() File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/utils/autoreload.py", line 77, in raise_last_exception raise _exception[1] File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/core/management/init.py", line 337, in execute autoreload.check_errors(django.setup)() File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/utils/autoreload.py", line 54, in wrapper fn(args, kwargs) File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/init.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/apps/registry.py", line 91, in populate app_config = AppConfig.create(entry) File "/Users/gwoninkenji/anaconda3/lib/python3.7/site-packages/django/apps/config.py", line 116, in create mod = import_module(mod_path) File "/Users/gwoninkenji/anaconda3/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 953, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 965, in _find_and_load_unlocked ModuleNotFoundError: No module named 'blod'

jpadilla commented 5 years ago

Hey there! This stack trace seems unrelated to this package. I'd take a look at your INSTALLED_APPS, you might be missing a comma or have an invalid entry. I'm closing this for now but feel free to post any updates.