Daniel Alievsky

Results 53 comments of Daniel Alievsky

It seems you didn't understand me well. I've already performed almost all that you recommended and even more: please read my JepSingleThreadInterpreter and other classes. Problem is that I cannot...

It seems that numpy is activated every time when anyone tries to create an instance of any class, not important, by PyCallable or by Python code. Example: ``` interp.exec("class myClass():\n...

I didn't try to debug your C code yet, but it seems that one of the problems is the following: ``` jobject PyObject_As_jobject(JNIEnv *env, PyObject *pyobject, jclass expectedType) #if JEP_NUMPY_ENABLED...

I don't build JEP at all, I'm using it via Maven, standard way of adding external libraries in Java: ``` black.ninia jep 4.0.3 ``` And, of course, I **need** numpy,...

> You did build the jep native library even if you didn't realize it, otherwise it wouldn't work. Perhaps you did it with pip, which also builds it from source....

It seems I found the problem. It was necessary to download "Desktop development with C++", which was not selected in the installer by default.

Ok, I've installed JEP. However, the very first test leads to an error. I just call "jep.bat", created by "pip install jep", without arguments. Results attached. It does not find...

Thank you very much, adding PYTHONHOME really helped. But I've set it to C:\Users\Daniel\AppData\Local\Programs\Python\Python310\ (folder of current Python version), not C:\Users\Daniel\AppData\Local\Programs\Python

But now I have another question. In your .bat-file, I see the line SET jni_path="C:\Users\Daniel\AppData\Local\Programs\Python\Python310\Lib\site-packages\jep" But really (after setting PYTHONHOME) all works fine even I does not use this line...

Also, I've cloned your repository (D:\W\jep), compiled all in IntelliJ IDEA and tried to call your Java tests from src\test\java\jep Of course, I've added jep-4.0.3.jar into classpath. But the tests...