-
Notifications
You must be signed in to change notification settings - Fork 13
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
Flight / skbio error. numpy.ndarray size changed, may indicate binary incompatibility #43
Comments
I've tested this on a fresh install but have not been able to replicate it so this really might be a system specific problem on top of weird numpy compilation issues. I'm keeping an eye on it, but the best bet seems to be try and activate the conda environment |
Yep, I will try re-installing numpy. |
Looks like updating numpy with |
Can you post the specs of the server you are trying to run on? |
It is actually a student I am helping who is having the issue (I have not tested myself). Server specs: Numpy was upgraded from version 1.21.6 -> 1.22.3. EDIT: There was this warning/error from pip
|
Right, so my understanding of this issue is that numpy 1.20 brought about some ABI breaking changes which resulted in the pip version of hdbscan to become incompatible with newer version of numpy. This could potentially be solved by installing hdbscan from source via pip e.g.: Not sure if you need the |
Thanks. Will give this a try. |
I've been able to reproduce this, just working on a fix now. Weirdly it was |
Awesome. Look forward to testing out the fix. |
This change to the |
Thanks, will try it out and let you know how it goes. |
This might not happen to you, but new checkm-genome installs I've created using conda have not downloaded the checkm database resulting in aviary to error out. So if you create this new rosella environment and it throws and error at a checkm step, just be aware of that |
Wait, just realised this recipe won't work as intended. The flight install gets overwritten due to the ordering, let me just test a different recipe |
Already testing....seems to be working/has not crashed yet. |
It won't crash, it will just use the wrong version of flight i.e. the one that crashes when you use a different number of threads |
New commit should have a correctly ordered yaml file |
The following error is thrown when running Rosella/Flight on a fresh install. I suspect it is related to this issue in HDBSCAN + numpy.
Also see https://stackoverflow.com/questions/66666380/issue-with-hdbscan-valueerror-numpy-ndarray-size-changed-may-indicate-binary for a possible solution.
EDIT: also see https://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp
The text was updated successfully, but these errors were encountered: