You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually this sort of thing happens when you have a partially-removed old install and a new one in a different path.
The code runs the "image2pnm" program, which should be a script that runs the python module astrometry.util.image2pnm (setting the PYTHONPATH to a relative path)
It's hard to diagnose the problem exactly, but you can try finding out things like
Encountering an error now every time I try running
solve-field
.(odl) mcampbell02@1311-mcampbell:~/projects/ressolve$ solve-field examples/M42_00001.fits Reading input file 1 of 1: "examples/M42_00001.fits"... /usr/bin/python3: Error while finding module specification for 'astrometry.util.image2pnm' (ModuleNotFoundError: No module named 'astrometry.util') augment-xylist.c:591:backtick Failed to run command: /usr/bin/python3 -m astrometry.util.image2pnm --infile examples/M42_00001.fits --uncompressed-outfile /tmp/tmp.uncompressed.FFRPrT --outfile /tmp/tmp.ppm.Ox7oDF --ppm --mydir /usr/bin/solve-field ioutils.c:568:run_command_get_outputs Command failed: return value 1
Attempted uninstalling and reinstalling astrometry.net packing with apt.
The text was updated successfully, but these errors were encountered: