You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module pyfits has been merged into astropy, and is no longer under active development outside of astropy. For all intents and purposes, pyfits now lives at astropy.io.fits, and many users will no longer have pyfits independently installed. One solution to this problem, which I use in my own scripts, is to replace all import pyfits statements with the following:
try:
import astropy.io.fits as pyfits
except ImportError:
import pyfits
Could you make this change?
The text was updated successfully, but these errors were encountered:
The module
pyfits
has been merged intoastropy
, and is no longer under active development outside of astropy. For all intents and purposes,pyfits
now lives atastropy.io.fits
, and many users will no longer havepyfits
independently installed. One solution to this problem, which I use in my own scripts, is to replace allimport pyfits
statements with the following:Could you make this change?
The text was updated successfully, but these errors were encountered: