痛風とシステム障害を恐れるエンジニアのブログ

趣味のことだったり仕事に関することだったりを徒然なるままに。webとかオープン系の会社で働いてます。お仕事の依頼お待ちしておりまーす。

Python3.4の環境にdjango-social-authを入れてみる その2

とりあえず、サンプルページを作って動かしてみたら

ImportError at /
cannot import name 'simplejson'

とエラーが出る。
ぐぐってみると
python - How to solve the ImportError: cannot import name simplejson in Django - Stack Overflow
こちらに

I think the above answers are workarounds.

Django used to ship with simplejson in django.utils, but this was removed in Django 1.5 because json module being available in Python’s standard library.

So you should now import json instead of from django.utils import simplejson, and make necessary changes where simplejson methods are called.

ってある。
まじか・・・・。

ライブラリのほうが古いDjangoにしか対応してないみたい。
ということで、一旦django-social-authは使わないようにしようと思いますた。

 pip uninstall  django-social-auth3

を実行(ー人ー)