alright, I have installed pyfits
forums.macrumors.com/threads/installing-pyfits.1533705/
Stephanes-MacBook-Air:pyfits-3.3 stephane$ python -c 'import pyfits; print pyfits.__version__'
3.3
Stephanes-MacBook-Air:pyfits-3.3 stephane$
Now battling with the indexes:
Stephanes-MacBook-Air:Downloads stephane$ solve-field -z 2 -B none -P none -M none -S none -R none -U none -T -p -O h.jpg
Reading input file 1 of 1: "h.jpg"...
jpegtopnm: WRITING PPM FILE
Read file stdin: 1536 x 1152 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
Downsampling by 2...
simplexy: found 200 sources.
Solving...
Warning: failed to open index directory: "~/Library/Application Support/Astrometry"
You must list at least one index in the config file (/usr/local/bin/../etc/astrometry.cfg)
See
astrometry.net/use.html about how to get some index files.
solve-field.c:518:run_engine engine failed. Command that failed was:
/usr/local/bin/astrometry-engine ./h.axy
ioutils.c:567:run_command_get_outputs Command failed: return value 255
Stephanes-MacBook-Air:Downloads stephane$