首頁  >  問答  >  主體

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'))



求解~
伊谢尔伦伊谢尔伦2766 天前491

全部回覆(1)我來回復

  • 迷茫

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

    換成python2.7以後就可以了。 ~

    回覆
    0
  • 取消回覆