Datax执行job由于python版本引起的报错


一、python版本问题报错显示

java.lang.Exception: File "/home/hundsun/workspace/dap/tools/bdata-datago/DataX/bin/datax.py", line 114
print readerRef
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(readerRef)?
Exception in thread "main" java.lang.RuntimeException: Command Execute Error: python /home/XXX/DataX/bin/datax.py /home/xxx/20200715/20200706000000_958ff6f8df0f4086af10089f3e647177.datax

二、解决方法

 由于python版本错误导致,使用python2.7.5后,问题解决


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM