开发者

Need advice installing python-oauth2 for python3 on OS X

开发者 https://www.devze.com 2023-04-10 20:53 出处:网络
I have downloaded this library on OS X: https://github.com/simplegeo/python-oauth2 when I try to install it, I get this error:

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

精彩评论

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

关注公众号