开发者

Need advice installing python-oauth2 for python3 on OS X

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜