搜索

首页  >  问答  >  正文

python2.6 pip install gittle 安装报错

python2.6 pip install gittle 安装报错

#

Running setup.py install for gittle
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/gittle/utils/git.py', 243, 11, ' for oldkey, newkey in key_pairs\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/gittle/auth.py', 86, 15, '            for key in self.KWARG_KEYS\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/gittle/gittle.py', 677, 15, '            for state, paths in files.items()\n'))



求解~
伊谢尔伦伊谢尔伦2767 天前498

全部回复(1)我来回复

  • 迷茫

    迷茫2017-04-17 14:27:10

    换成python2.7以后就可以了。~

    回复
    0
  • 取消回复