生成错误的原因如下
C:\sankar\rauth-0.5.5.tar\rauth-0.5.5>python setup.py install
Traceback (most recent call last):
File "setup.py", line 4, in <module>
from rauth import __version__
File "C:\sankar\rauth-0.5.5.tar\rauth-0.5.5\rauth\__init__.py", line 30, in <m
odule>
from .service import OAuth1Service, OAuth2Service, OflyService
File "C:\sankar\rauth-0.5.5.tar\rauth-0.5.5\rauth\service.py", line 23
except KeyError, e: # pragma: no cover发布于 2013-07-14 17:59:28
该模块不能在Python 3上工作,因为它使用Python 2特定的语法。
有一个开放的pull request for supporting Python 3。您可以尝试在该拉取请求中使用补丁,或者切换到Python 2。
更新:从version 0.6开始,rauth支持Python3。请安装该版本或更新版本。
https://stackoverflow.com/questions/17638273
复制相似问题