add protobuf prerequsite check

This commit is contained in:
Khalid Huseynov 2018-07-19 15:47:53 +09:00
parent c195b5609b
commit 58c06898b7

View file

@ -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);