You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/09/29 09:02:10 UTC

[GitHub] [incubator-dolphinscheduler] shiliquan opened a new issue #3853: Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

shiliquan opened a new issue #3853:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3853


   Process definition settings:
   ![image](https://user-images.githubusercontent.com/42087586/94536305-321b2100-0275-11eb-9ed0-711007f6905a.png)
   
   Script content:
   ![image](https://user-images.githubusercontent.com/42087586/94536834-61319280-0275-11eb-8fd7-d4b140966e59.png)
   
   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
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] shiliquan closed issue #3853: Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

Posted by GitBox <gi...@apache.org>.
shiliquan closed issue #3853:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3853


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] shiliquan commented on issue #3853: Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

Posted by GitBox <gi...@apache.org>.
shiliquan commented on issue #3853:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3853#issuecomment-700604074


   好的,知道了,谢谢!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xloya removed a comment on issue #3853: Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

Posted by GitBox <gi...@apache.org>.
xloya removed a comment on issue #3853:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3853#issuecomment-700600877


   And if you use python node,you should write code like print("nihao") in script input box rather than "python3 ninhao.py".If you want to use cmd,you should create a shell node rather than python node


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xloya commented on issue #3853: Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

Posted by GitBox <gi...@apache.org>.
xloya commented on issue #3853:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3853#issuecomment-700595301


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xloya commented on issue #3853: Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

Posted by GitBox <gi...@apache.org>.
xloya commented on issue #3853:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3853#issuecomment-700600877


   And if you use python node,you should write code like print("nihao") in script input box rather than "python3 ninhao.py".If you want to use cmd,you should create a shell node rather than python node


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] geosmart commented on issue #3853: Does python have version compatibility issues in its process definition, and why doesn't my Python 3 work?

Posted by GitBox <gi...@apache.org>.
geosmart commented on issue #3853:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3853#issuecomment-701111538


   > 好的,知道了,谢谢!
   
   please close the issue if your issue have already resolved


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org