wa-ooo opened a new issue #5024:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5024


   In general, the home is the directory where the software is installed,but 
the commandInterpreter method use the Python home directory in 
PythonCommandExecutor.java, which is in the environment variable configuration 
file needs to be configured PYTHON_HOME to PYTHON_HOME/bin/Python. Obviously, 
this is unreasonable and misleading
   
   **Describe alternatives you've considered**
   
   `    /**
        * get python home
        *
        * @return python home
        */
       @Override
       protected String commandInterpreter() {
           String pythonHome = getPythonHome(taskExecutionContext.getEnvFile());
           if (StringUtils.isEmpty(pythonHome)) {
               return PYTHON;
           }
           --  return pythonHome
           ++ return pythonHome + "/bin/python";  
       }`
   
   [dev]


----------------------------------------------------------------
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:
[email protected]


Reply via email to