Ben Steffensmeier
Ben Steffensmeier
This is not the expected behavior but it can be very difficult to identify whether this is a problem with jep or with one of the libraries you are using....
It looks like you have a java pacakge called torchvision that is being imported instead of the python package you want. We have a [wiki section on naming conflcts](https://github.com/ninia/jep/wiki/Naming-Conflicts#python-packages) that...
Are you using jython in your program? Jtython may be causing problems with the ClassEnquirer. The stacktrace in you description is only possible if the ClassEnquirer is reporting that torchvision,...
That is an interesting idea. A SharedInterpreter is pretty close to the minimum amount of work necessary to use Python on a thread, it is much more light weight than...
> I'm not c-python API expert in any way, but the link to PyGILState you gave does not seem to prohibit anything I've suggested. You only need to make sure...
> Could you please point me to java/c code related to that? I'd like to test this idea. [Here](https://github.com/ninia/jep/blob/v4.2.2/src/main/c/Jep/pyembed.c#L595) is the c code where we initialize the PyThreadState for every...
Thank you so much for the code examples you included. I initially tried to replicate the problem by adding some calls to set() in the [isolated interpreter test](https://github.com/ninia/jep/blob/v4.2.2/src/test/java/jep/test/TestSubInterpOptions.java#L101) but I...
> Could you please provide instructions for me how I can do this? Can I just take dev_4.3 and try or do I need to tweak something? I'm a bit...
@novos40 Since you have mentioned on other issues that you are using shared modules and also that compatibility with other python modules is important to you I also want to...
Any Java object which implements the java.util.Map interface will automatically get an items() method added in Python and the result can be iterated just like a dict as shown below...