-
Notifications
You must be signed in to change notification settings - Fork 492
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
ValueError: numpy.ufunc size changed, may indicate binary incompatibility #272
Comments
It seems upgrading numpy from |
* hdbscan fails on old versions of numpy * scikit-learn-contrib/hdbscan#272 Signed-off-by: egor <egor@sourced.tech>
Import error "from pmdarima.arima import auto_arima" |
I have numpy 1.16.2 and I still get the error. I installed it fine through command line using pip, but upon importing it, in both JupyterLab and Terminal, I get the following error:
|
@hovikgas upgrading for me to 1.16.1 finally fixed it! pip install numpy==1.16.1 |
@odbarragan I'm already on 1.16.2... so I should downgrade to 1.16.1? That would likely mess up some other packages... |
@hovikgas Yes downgrading to 1.16.1 worked for me so that may work for you as well. You might have to do pip uninstall numpy until there are no versions of numpy left and then do pip install numpy==1.16.1. |
For anyone else looking, I believe this is the numpy issue on this problem: numpy/numpy#12785 |
I'm seeing 7 of those warnings when creating docs using Sphinx. I'm on Ubuntu 18.04.2 LTS and I've installed numpy using |
Error when I used version 1.16.3, downgrading to 1.16.0 addresses this issue |
This error needs to be solved the following way:
This solved my problem. |
I also solved this issue by installing I was on 1.13.1 or some such RHEL 6.10, python3.6.2 |
It doesn’t work☹
Pls check the log for detail, any suggestion is welcomed!
…________________________________
发件人: Shawn P. Serbin <notifications@github.com>
发送时间: Tuesday, September 24, 2019 1:59:16 AM
收件人: scikit-learn-contrib/hdbscan <hdbscan@noreply.github.com>
抄送: Subscribed <subscribed@noreply.github.com>
主题: Re: [scikit-learn-contrib/hdbscan] ValueError: numpy.ufunc size changed, may indicate binary incompatibility (#272)
I also solved this issue by installing numpy==1.16.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#272?email_source=notifications&email_token=AHXZMSSZQF3CCRYRCOBRVITQLD7XJA5CNFSM4GPXFRN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7LXIXY#issuecomment-534213727>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHXZMSVNAKTNUXKVRW6L2FTQLD7XJANCNFSM4GPXFRNQ>.
|
Pinning another python version as suggested in scikit-learn-contrib/hdbscan#272.
I attempted to use "pip install numpy==1.16.1" (or 1.16.4, 1.16.5, 1.16.0), none of them worked. |
If you are working on a jupyter notebook, you might want to additionally restart your kernel.
|
upgrade numpy version and solved |
yes, uninstall the existing NumPy and install a higher version i.e latest version of NumPy can solve this issue |
Not entirely sure HDBSCAN is at fault here (maybe we broke something in our environment), but the latest build of our container exhibited the following error, which seems to trace into HDBSCAN:
Any clues?
The text was updated successfully, but these errors were encountered: