蟒蛇 - 亚马逊产品-API安装错误 [英] python-amazon-product-api installation error
本文介绍了蟒蛇 - 亚马逊产品-API安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在安装时的的的python-亚马逊产品API 的使用命令PROMT在Windows它给我的错误:
文件setup.py,第60行
打印'错误:版本%R一直没有调整呢! % 版_
语法错误:无效了Syntex
解决方案
有在python3无格式符号%。将其更改为:
打印。ERROR:版本{0}一直没有调整尚未'格式(version_)
When installing python-amazon-product-api using command promt in windows it gives me error:
File "setup.py", Line 60
print 'ERROR: Version %r has not been adjusted yet!' % version_
SyntaxError: invalid syntex
解决方案
There are no formatting symbol '%' in python3. Change it to:
print 'ERROR: Version {0} has not been adjusted yet!'.format(version_)
这篇关于蟒蛇 - 亚马逊产品-API安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文