Следовал строго документации
python-social-auth-docs.readthedocs.io/en/latest/c...
Использую Python3.5 в окружении с pip. Установил social auth django
Пытаюсь сделать миграцию ./manage.py migrate
Получаю такой ответ
(myenv) daniil@daniil ~/someenv/touchphys $ ./manage.py migrate
Traceback (most recent call last):
File "./manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
utility.execute()
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/django/core/management/__init__.py", line 337, in execute
django.setup()
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate
app_config.import_models()
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/home/daniil/someenv/myenv/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/social_django/models.py", line 10, in <module>
from .storage import DjangoUserMixin, DjangoAssociationMixin, \
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/social_django/storage.py", line 8, in <module>
from social_core.storage import UserMixin, AssociationMixin, NonceMixin, \
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/social_core/storage.py", line 12, in <module>
from openid.association import Association as OpenIdAssociation
File "/home/daniil/someenv/myenv/lib/python3.5/site-packages/openid/__init__.py", line 52, in <module>
if len(version_info) != 3:
TypeError: object of type 'map' has no len()
Версии модулей
appdirs (1.4.3)
certifi (2017.4.17)
chardet (3.0.4)
defusedxml (0.5.0)
Django (1.11.1)
django-allauth (0.32.0)
django-appconf (1.0.2)
django-ckeditor (5.2.2)
django-guardian (1.4.1)
django-social-auth (0.7.28)
django-user-accounts (2.0.1)
django-userena (2.0.1)
easy-thumbnails (2.4.1)
html2text (2014.12.29)
httplib2 (0.10.3)
idna (2.5)
oauth2 (1.9.0.post1)
oauthlib (2.0.2)
olefile (0.44)
packaging (16.8)
Pillow (4.1.1)
pip (9.0.1)
psycopg2 (2.7.1)
PyJWT (1.5.0)
pyparsing (2.2.0)
python-openid (2.2.5)
python-social-auth (0.3.6)
python3-openid (3.1.0)
pytz (2017.2)
requests (2.17.3)
requests-oauthlib (0.8.0)
setuptools (35.0.2)
six (1.10.0)
social-auth-app-django (1.2.0)
social-auth-core (1.4.0)
urllib3 (1.21.1)
wheel (0.29.0)