mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
add protobuf prerequsite check
This commit is contained in:
parent
c195b5609b
commit
58c06898b7
1 changed files with 3 additions and 0 deletions
|
|
@ -186,6 +186,9 @@ public class IPythonInterpreter extends Interpreter implements ExecuteResultHand
|
|||
if (!freezeOutput.contains("grpcio=")) {
|
||||
return "grpcio is not installed";
|
||||
}
|
||||
if (!freezeOutput.contains("protobuf=")) {
|
||||
return "protobuf is not installed";
|
||||
}
|
||||
LOGGER.info("IPython prerequisite is met");
|
||||
} catch (Exception e) {
|
||||
LOGGER.warn("Fail to checkIPythonPrerequisite", e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue