holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
567 stars 34 forks source link

ModuleNotFoundError for _fast_sigma_clip in astropy; can't downgrade #206

Open emanrow opened 3 years ago

emanrow commented 3 years ago

This is in the SciPy version. When attempting to import astroML.plotting, I get the following Exception:

ModuleNotFoundError: No module named 'astropy.stats._fast_sigma_clip'

This seems to stem from a dependency on astropy, and I can reproduce it by trying to import astropy.stats directly (same error).

I looked into the module and indeed, I cannot find _fast_sigma_clip in astropy.stats, so presumably this is a bug with astropy. I tried several different permutations of !pip install astropy==4.3 (for various different versions), but always get ERROR: No matching distribution found for astropy==4.3.

So for now I am stuck without being able to use astropy.stats or astroML. :/

holzschu commented 3 years ago

Hi, thanks for raising the issue. I had missed the introduction of the new module astropy.stats._fast_sigma_clip with the latest version of astropy. It will be fixed in the next release of Carnets (both versions).

holzschu commented 2 years ago

Hi, this issue should now be fixed in the TestFlight version: https://testflight.apple.com/join/UbNIjkjp

If I did not introduce other bugs while fixing this, this will become the AppStore version in about a week.