From ec0951e7829287f6ab7867133976771821c2d60e Mon Sep 17 00:00:00 2001 From: Marcel R Date: Mon, 1 Mar 2021 09:40:47 +0100 Subject: [PATCH] Update TF test base class to use python3. --- PhysicsTools/TensorFlow/test/testBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PhysicsTools/TensorFlow/test/testBase.h b/PhysicsTools/TensorFlow/test/testBase.h index f4c6a9c5a7fcf..a895429d1b560 100644 --- a/PhysicsTools/TensorFlow/test/testBase.h +++ b/PhysicsTools/TensorFlow/test/testBase.h @@ -29,7 +29,7 @@ void testBase::setUp() { // create the graph std::string testPath = cmsswPath("/src/PhysicsTools/TensorFlow/test"); - std::string cmd = "python " + testPath + "/" + pyScript() + " " + dataPath_; + std::string cmd = "python3 " + testPath + "/" + pyScript() + " " + dataPath_; std::array buffer; std::string result; std::shared_ptr pipe(popen(cmd.c_str(), "r"), pclose);