libstempo icon indicating copy to clipboard operation
libstempo copied to clipboard

cannot find astropy, units support will not be available

Open kdolum opened this issue 1 year ago • 3 comments

Loading libstempo gives Warning: cannot find astropy, units support will not be available. I think the problem is that erfa is no longer part of astropy, so importing it fails and the code has a catchall try...except that prints the above message.

kdolum avatar May 31 '23 23:05 kdolum

This might be fixed by #48

mattpitkin avatar Jul 05 '23 16:07 mattpitkin

I can confirm that @mattpitkin's branch in #48 fixes this. Hopefully the fix can be merged in soon!

rossjjennings avatar Jul 17 '23 16:07 rossjjennings

#48 is now merged in, but not in a release yet.

mattpitkin avatar Oct 18 '23 09:10 mattpitkin

Ran into this again today while trying to set up an environment for the next NANOGrav data release, even though the fix has been merged, because it's not in a release yet and I was installing from conda-forge. It would be great to get a release that has the fix in it.

rossjjennings avatar May 07 '24 01:05 rossjjennings

👉 @vallis

mattpitkin avatar May 07 '24 08:05 mattpitkin

Hi @rossjjennings, @vallis has now given me the power to make new releases. I've created v2.4.7, which is now available on PyPI (and hopefully shortly on conda-forge)

mattpitkin avatar Jul 02 '24 20:07 mattpitkin

v2.4.7 is now available via conda-forge too.

mattpitkin avatar Jul 03 '24 15:07 mattpitkin