I have installed and truing to solve a fits image. Where I get the below mentioned error. Where is this going wrong ?
Reading input file 1 of 1: "cfb_2020-05-06-8.fits"...
Found an existing WCS header, will try to verify it.
Extracting sources...
simplexy: found 653 sources.
Traceback (most recent call last):
File "/usr/local/astrometry/bin/removelines", line 15, in <module>
sys.exit(main())
File "/usr/local/astrometry/lib/python/astrometry/util/removelines.py", line 77, in main
return removelines(infile, outfile, xcol=opt.xcol, ycol=opt.ycol,
File "/usr/local/astrometry/lib/python/astrometry/util/removelines.py", line 40, in removelines
T = fits_table(infile, lower=False)
File "/usr/local/astrometry/lib/python/astrometry/util/fits.py", line 672, in fits_table
pf = pyfits.open(dataorfn, memmap=mmap)
AttributeError: 'NoPyfits' object has no attribute 'open'
augment-xylist.c:590:backtick Failed to run command: /usr/local/astrometry/bin/removelines /tmp/tmp.xyls.i3vQNF /tmp/tmp.removelines.O2LuDH
ioutils.c:567:run_command_get_outputs Command failed: return value 1