New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while importing the model #18
Comments
This is an issue with NumPy. You have got a few options to fix this:
|
I tried to install it manually using python setup.py install
|
Hmm thats curious, setup should compile the Cython modules. To ensure the install works, run |
Same error. Cython modules are compiled during the build. why is it not recognizing the _tree module?
|
Previous versions can cause "ufunc size changed" errors, see #18
Alright, I have recently introduced building wheels for the sole purpose of preventing issues with compiling, so let's not go there. I have gone over all recent numpy versions up to a year ago and found that your original problem only occurs for numpy versions lower than 1.16.0. I have added a constraint to the installation such that this problem is automatically fixed upon pip install. (There were some more compatibility issues with the most recent version of scikit-learn that have been fixed too.) Could you try using the library again by installing it with |
Closing this issue due to inactivity. I expect the problem to be fixed, if not please let me know! |
from sklearn_pmml_model.ensemble import PMMLForestClassifier
Error: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216from C header, got 192 from PyObject
The text was updated successfully, but these errors were encountered: