-
Notifications
You must be signed in to change notification settings - Fork 2
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
BUG: numpy throws AttributeError in base kernel #14
Comments
I suspect this is caused by numpy version conflict somewhere. I will have a look. |
As far as I can see, this error is caused by a conflict in the |
I don't see any numpy<2 pins in the demo notebooks repo, nor in hipscat/lsdb. Can we dive into where it was actually coming from? (In the readme there is an lsdb pin to an old version, but it's not present in the requirements file) |
Yes, I don't know where it is coming from, but doing |
It would've been easier if the |
And I cannot investigate locally as I cannot build healpy atm (but this is a know osx issue that should not affect fornax) |
Looks like mocpy requires numpy<2.0. mocpy is required by hipscat, which is required by lsdb. |
OK, this is tracked here, with references for more upstream: |
Works for me now. Thanks @zoghbi-a . |
There seems to be a problem with the numpy installation in the base kernel of the Dev Astrophysics image. From within a notebook, it throws an
AttributeError
until it is uninstalled and reinstalled (same version). I cannot reproduce the problem from the terminal, only in a notebook. I ran into this when trying to test the dask-labextension (hence usingimport hipscat
) on daskhub-dev.fornax.smce but the problem also exists on daskhub.fornaxdev.mysmce.Below is what it looks like for me. To reproduce, start the Dev Astrophysics image and open a new notebook using the base kernel, then copy/paste the input from below.
Full traceback:
The text was updated successfully, but these errors were encountered: