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



求解~

python pip git

fourone 9 years, 8 months ago

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

sbthere answered 9 years, 8 months ago

Your Answer