Replace pywcs with astropy.wcs