dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

Open shiliquan opened this issue 6 years ago • 3 comments

Process definition settings: image

Script content: image

The error is reported as follows: [INFO] 2020-09-29 14:52:28.244 - [taskAppId=TASK-11-64-84]:[121] - -> File "/tmp/dolphinscheduler/exec/process/2/11/64/84/py_11_64_84.command", line 4 python3 ninhao.py ^ SyntaxError: invalid syntax

shiliquan avatar Sep 29 '20 09:09 shiliquan

Have you configured PYTHON_HOME in conf/env/dolphinscheduler_env.sh?If you want to use python3,you should configure python3's home path

xloya avatar Sep 29 '20 09:09 xloya

好的,知道了,谢谢!

shiliquan avatar Sep 29 '20 10:09 shiliquan

好的,知道了,谢谢!

please close the issue if your issue have already resolved

geosmart avatar Sep 30 '20 01:09 geosmart