I have downloaded this library on OS X: https://github.com/simplegeo/python-oauth2
when I try to install it, I get this error:
开发者_Python百科$sudo python3 setup.py install
File "setup.py", line 18 print "unable to find version in %s" % (VERSIONFILE,) ^ SyntaxError: invalid syntax
What do I do to get past this?
Here's the setup.py file for reference: https://github.com/simplegeo/python-oauth2/blob/master/setup.py
oauth2 evidently does not support Python 3. Contact the author and discuss what can be done about that. Porting may be simple and is often fun!
精彩评论