libstempo
libstempo copied to clipboard
cannot find astropy, units support will not be available
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.
This might be fixed by #48
I can confirm that @mattpitkin's branch in #48 fixes this. Hopefully the fix can be merged in soon!
#48 is now merged in, but not in a release yet.
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.
👉 @vallis
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)
v2.4.7 is now available via conda-forge too.