These are chat archives for astropy/astropy

21st
Jun 2016
Michael Schmid
@michael09s_twitter
Jun 21 2016 07:25 UTC
hi, i have a issue, i dont know if this is the right place to ask but it is worth a shot

File "C:\Users\lapguest\Anaconda3\lib\site-packages\astropy_init_.py", line 177, in _initialize_astropy
from .utils import _compiler

ImportError: cannot import name '_compiler'

im trying to import a fits file

my code is

from astropy.io import fits
hdulist = fits.open('input.fits.fits')
scidata = hdulist[0].data

Nathan Goldbaum
@ngoldbaum
Jun 21 2016 14:30 UTC
this might be relevant for people working with astropy's units: matplotlib/matplotlib#6622
it's a PR that makes matplotlib's imshow command work correctly when passed an array with units attached
Adam Ginsburg
@keflavich
Jun 21 2016 15:11 UTC
ngoldbaum: :+1: