在使用django-userprofile的时候报错:GoogleDataAPINotFound at 的解决方法
作者:我就是个世界
发表于:2012-03-28
在使用了在使用django-userprofile的时候报错:
[code]
GoogleDataAPINotFound at /
No exception supplied
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.3
Exception Type: GoogleDataAPINotFound
Exception Location: E:\workspace\feifanlv2012\travelsite\userprofile\views.py in <module>, line 72
Python Executable: C:\Python27\python.exe
Python Version: 2.7.2
[/code]
原因是没有安装gdata包,安装一下即可![separator]
http://code.google.com/p/gdata-python-client/downloads/list
或直接[code]pip install gdata [/code]
如果使用ActiveState ActivePython 2.7 (32-bit) 则使用:[code]pypm install gdata [/code]
[code]
GoogleDataAPINotFound at /
No exception supplied
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.3
Exception Type: GoogleDataAPINotFound
Exception Location: E:\workspace\feifanlv2012\travelsite\userprofile\views.py in <module>, line 72
Python Executable: C:\Python27\python.exe
Python Version: 2.7.2
[/code]
原因是没有安装gdata包,安装一下即可![separator]
http://code.google.com/p/gdata-python-client/downloads/list
或直接[code]pip install gdata [/code]
如果使用ActiveState ActivePython 2.7 (32-bit) 则使用:[code]pypm install gdata [/code]
请发表您的评论