I installed source-extractor via homebrew for mac, and I verify that it is installed and working by running a command "sex image.fits" in terminal, but at first I needed to copy default.* files to the same directory as image is located, and it works.
But the problem is, I could't run sextractor with astrometry. I have tried in two different ways:
1. solve-field "image.fits" source-extractor-config "/opt/homebrew/Cellar/sextractor/2.25.0/share/sextractor/default.sex"
and it failed with:
Extracting sources...
/bin/sh: source-extractor: command not found
augment-xylist.c:591:backtick Failed to run command: source-extractor -c /opt/homebrew/Cellar/sextractor/2.25.0/share/sextractor/default.sex -CATALOG_TYPE FITS_1.0 -CATALOG_NAME /tmp/tmp.xyls.X8NT3W image.fits
2. solve-field "image.fits" --use-source-extractor
Reading input file 1 of 1: "image.fits"...
Extracting sources...
/bin/sh: source-extractor: command not found
augment-xylist.c:591:backtick Failed to run command: source-extractor -PARAMETERS_NAME /tmp/tmp.param.UyG8wz -FILTER_NAME /tmp/tmp.filter.72c55Z -CATALOG_TYPE FITS_1.0 -CATALOG_NAME /tmp/tmp.xyls.xkkClQ image.fits