0

generating error as this

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
maxcountryman
  • 1,562
  • 1
  • 24
  • 51
Sanky Cse
  • 171
  • 1
  • 2
  • 8

1 Answers1

1

The module won't work on Python 3, as it uses Python 2 specific syntax.

There is an open pull request for supporting Python 3. You can try to use the patch in that pull request, or switch to Python 2.

Update: As of version 0.6 rauth supports Python 3. Install that version or newer.

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343