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 2021/03/17 10:38:56 UTC

[GitHub] [incubator-dolphinscheduler] wgwtransfer opened a new issue #5080: 本地运行Python脚本报错

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


   修改dolphinscheduler_env.sh中“export PYTHON_HOME=/opt/soft/python”为本机python目录,执行中报“sudo: /opt/soft/python: command not found”错误,求助问题在哪呢?


----------------------------------------------------------------
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] wgwtransfer commented on issue #5080: 本地运行Python脚本报错

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


   > @wgwtransfer You can refer to the similar issue #2548 #2620 #2868 #3853.
   > By the way, we will improve the `HOME` environment variables with #5035
   > 
   > You need to set `PYTHON_HOME` to a correct path of python like `/usr/bin/python` in file `conf/env/dolphinscheduler_env.sh`
   
   Yes,I sovled this matters.    I set **PYTHON_HOME**=/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8, and added PYTHON_HOME to /etc/profile.   ps. It is deployed in MacOX.


----------------------------------------------------------------
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] chengshiwen edited a comment on issue #5080: 本地运行Python脚本报错

Posted by GitBox <gi...@apache.org>.
chengshiwen edited a comment on issue #5080:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5080#issuecomment-801047028


   @wgwtransfer You can refer to the similar issue #2548 #2620 #2868 #3853.
   By the way, we will improve the `HOME` environment variables with #5035
   
   You need to set `PYTHON_HOME` to a correct path of python like `/usr/bin/python`


----------------------------------------------------------------
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] dailidong commented on issue #5080: 本地运行Python脚本报错

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


   Please update/add title and description in English, thx


----------------------------------------------------------------
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] wgwtransfer edited a comment on issue #5080: 本地运行Python脚本报错

Posted by GitBox <gi...@apache.org>.
wgwtransfer edited a comment on issue #5080:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5080#issuecomment-801553352


   > @wgwtransfer You can refer to the similar issue #2548 #2620 #2868 #3853.
   > By the way, we will improve the `HOME` environment variables with #5035
   > 
   > You need to set `PYTHON_HOME` to a correct path of python like `/usr/bin/python` in file `conf/env/dolphinscheduler_env.sh`
   
   Yes,I sovled this matters.    I set **PYTHON_HOME**=/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8, and added PYTHON_HOME to /etc/profile.   ps. It is deployed in MacOS.


----------------------------------------------------------------
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] dailidong closed issue #5080: 本地运行Python脚本报错

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


   


----------------------------------------------------------------
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] chengshiwen edited a comment on issue #5080: 本地运行Python脚本报错

Posted by GitBox <gi...@apache.org>.
chengshiwen edited a comment on issue #5080:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5080#issuecomment-801047028


   @wgwtransfer You can refer to the similar issue #2548 #2620 #2868 #3853.
   By the way, we will improve the `HOME` environment variables with #5035
   
   You need to set `PYTHON_HOME` to a correct path of python like `/usr/bin/python` in file `conf/env/dolphinscheduler_env.sh`


----------------------------------------------------------------
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] chengshiwen commented on issue #5080: 本地运行Python脚本报错

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


   @wgwtransfer You can refer to the similar issue #2548 #2620 #2868 #3853.
   By the way, we will improve the `HOME` environment variables with #5035


----------------------------------------------------------------
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