ninia / jep

Embed Python in Java
Other
1.3k stars 147 forks source link

Can I dynamically switch python version by "setJepLibraryPath" #441

Closed WangRey closed 1 year ago

WangRey commented 1 year ago

Describe the problem I need to dynamically change the version of the interpreter created in the project, depending on the parameters passed in. Is it possible to do that? I tried it. The problem arises. "Jep.setLibraryPath called after initializing python interpreter" Environment (please complete the following information):

bsteffensmeier commented 1 year ago

No, it is not possible to switch Python versions after Jep has been initialized.