Nate Jensen
Nate Jensen
I was able to repeat this on Windows with Python 3.9.8 and 3.9.9, but not with 3.9.7. With that knowledge, I started building Python from source on Windows and testing...
Looks like [setuptools includes all of distutils](https://github.com/pypa/setuptools/commit/bb9fb1fcfe37c1ef1e29e1e6d1fc4e483c743380). So the quick fix may be to change the imports throughout the files in the jep/commands directory. A longer term fix may be...
Changing distutils imports to be setuptools._distutils did not work. Tried with Python 3.7 and setuptools 59.4.0. ``` $ python3 setup.py clean numpy not found, running without numpy support running clean...
[As previously stated](https://github.com/ninia/jep/issues/249#issuecomment-626032683), JepException will become an unchecked RuntimeException in Jep 4.0. We don't want to change it or the method signatures or behavior in the Jep 3.x series. Please...
Exceptions have been changed on dev_4.0 branch here: https://github.com/ninia/jep/commit/a06d949f2d5036234fdd30efc89540410868151c
BufferError is not coming out of Jep, I think it's coming out of numpy. Are you sure you're using the same version of Python and same version of numpy as...
@PradeepBadiger, the newly released Jep 4.0.2 has @bsteffensmeier's fix for buffers. Please try that release and let us know if it fixes your problem.
Does the hs_err_pid list what library it crashed in? libjvm.so or something else? And what JRE are you using?
The crash is in the multiarray library, which is part of numpy. I see you're already using SharedInterpreter which is the best advice I can give you for using numpy...
We already do a link of jep.so to libjep.jnilib. Did you not get that link? It's part of the `install` command with setup.py. https://github.com/ninia/jep/blob/master/commands/link_util.py#L35