Django Virtual-Env Openid导入错误

时间:2015-04-10 11:43:27

标签: python django

从虚拟环境运行 Django 服务器时出现此错误(安装 python-social-auth 后)

 File "/var/www/virtualenv-12.0.4/mapfied/python-social-auth/social/storage/base.py", line 12, in <module>
    from openid.association import Association as OpenIdAssociation
ImportError: No module named 'openid'

尽管在我的VirtualEnv中安装了openid,

sudo -H pip install django-openid-auth

Requirement already satisfied (use --upgrade to upgrade): django-openid-auth in /usr/local/lib/python3.4/dist-packages

是否有此问题?任何修复

1 个答案:

答案 0 :(得分:0)

试试这个:

pip install python-openid