I'm new to using python for photometry so I'm working through the Photutils tutorial on Background extraction, Aperture photometry etc I'm using a notebook in Python 3 and have downloaded the latest Photutils package using anaconda. When I try to do this:
from photutils import CircularAperture
positions = [(30., 30.), (40., 40.)]
apertures = CircularAperture(positions, r=3.)
from astropy import units as u
from astropy.coordinates import SkyCoord
from photutils import SkyCircularAperture
positions = SkyCoord(l=[1.2, 2.3] * u.deg, b=[0.1, 0.2] * u.deg,
frame='galactic')
apertures = SkyCircularAperture(positions, r=4. * u.arcsec)
I get the error cannot import name 'NUMPY_LT_1_14_1'
The same happens with from photutils import Background2D, MedianBackground and import make_source_mask
Any ideas please?
thanks! Helen