Closed ktts1212 closed 1 year ago
The jep native library is only loaded once per process so setJepLibraryPath must be called before any interpreter is loaded and cannot be called again after an interpreter is created. The close method will end a specific interpreter but does not reset configuration that applies to the entire process.
I have know what I should do.Thanks for your help and your product.
I try to use jep in the Springboot project but it can only be used once, and then it reports an error: Jep.setJepLibraryPath(...) called after initializing python interpreter. . I tried using the close method in the Interpreter hoping to close the Interpreter object, but it didn't work, the close method doesn't seem to be working.
jep version is 4.1.1 jdk version is 1.8
`public class Jeptest{