Closed n2k3bu1 closed 8 years ago
I have the same problem when migrate and runserver. Are you fix this problem?
Django==1.9.2 django-social-auth==0.7.28
Apparently importlib has been deprecated since Django 1.7 and removed in Django 1.9: https://docs.djangoproject.com/en/1.10/releases/1.7/#django-utils-dictconfig-django-utils-importlib
Thank cdman for related issue. However, It seems that social_auth is not maintained well. I will work around another way.
I have a issue with Django 1.10.1 when migrate command line. Could you help me to fix it.
(framework_env35) nake@ubuntux:/webapps/fantasy$ python manage.py migrate Traceback (most recent call last): File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/webapps/framework_env35/lib/python3.5/site-packages/django/core/management/init.py", line 367, in execute_from_command_line
utility.execute()
File "/webapps/framework_env35/lib/python3.5/site-packages/django/core/management/init.py", line 341, in execute
django.setup()
File "/webapps/framework_env35/lib/python3.5/site-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/webapps/framework_env35/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/webapps/framework_env35/lib/python3.5/site-packages/django/apps/config.py", line 199, in import_models
self.models_module = import_module(models_module_name)
File "/webapps/framework_env35/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/webapps/framework_env35/lib/python3.5/site-packages/social_auth/models.py", line 4, in
from django.utils.importlib import import_module
ImportError: No module named 'django.utils.importlib'