func execPython(fPath, colName, srv string) (){
fmt.Println("Inside execPython")
cmd:= "python rfsvmchurn.py"
arg0 := "-fp " + fPath
arg1 := "-srv " + srv
arg2 := "-col " + colName
if err := exec.Command(cmd, arg0, arg1, arg2).Run(); err != nil {
fmt.Println("Python Execution Error :",err)
}
}
获取错误 Python执行错误:exec:“Pythonrfsvmchurn.py“:在$PATH中找不到可执行文件