Dolphinscheduler中DataX任务报错anaconda3/bin/python2.7: No such file or directory

我的DataX任务是从Mysql同步到Doris的,改配置的都配置好了,跑起来后报错如下:

 报错信息:

/data01/bigdata/anaconda3/bin/python2.7: No such file or directory

我的Dolphinscheduler安装的是Python3,查资料发现DataX的源代码中是指向的Python2.7,所以报错,解决方法是:
1.安装2.7版本的Python
2.不安装2.7的也可以,方法如下

先找到自己Python3的安装目录,我的是:

/data01/bigdata/anaconda3/bin
在bin目录下执行
ln -s python python2.7
创建一个python2.7指向python的软连接即可

学会了么?

猜你喜欢

转载自blog.csdn.net/weixin_42258633/article/details/127394619