-
Notifications
You must be signed in to change notification settings - Fork 9
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
Issue when import pyssht
#206
Comments
The issue is because of pyproject.toml I am gonna look into it |
Firstly, thanks for your great work on S2FFT! I ran into this issue while installing S2FFT using This is related to astro-informatics/ssht#74. I tried to build
|
My workaround is to set |
Hey @as2875 great to hear you're finding the code useful! So this conflict was introduced when NumPy incremented to v2.0 last month. Ultimately this broke the python wrappers of the SSHT C package, as you say, and we have it on our todo list to fix. The current workaround we'd suggest is exactly what you found, just ensure that numpy<2. |
Trying to finish up my PR #204
I ran to an issue
I think that there is an issue with
pyssht
and it prevents is from even importings2fft
I commented it in three places
And I set
c_sph
toNone
Just to be able to test my PR
I will look into it if you want, but the wise thing to do here is to wrap the import with a
try catch
et dynamically deactivatepyssht
if it not workingThe text was updated successfully, but these errors were encountered: