I've just started getting errors in my jep process where the NDArray I'm setting on the python interpreter is not being used in the script as an ndarray. Specifically, the python code is generating the below exception when executing "np.hstack([matrix_4x3, np.ones((matrix_4x3.shape[0], 1))])".
jep.JepException: <class 'AttributeError'>: 'jep.PyJObject' object has no attribute 'shape'
this happening both when running from source code and in my docker containers. numpy and jep are being installed using pip:
python -m pip install numpy
python -m pip install jep
The dockerfile has not changed nor has the python module, but it is failing now. jep.JEP_NUMPY_ENABLED is returning 0 and I've seen in other posts that this probably needs to be 1.
How do I get numpy support back. I've never had to build jep manually, pip install has always worked until now.
Thanks for any suggestions.