| 1 | initial version |
One solution is to use Sage's python (sage -python as you've done), but also you need to install pyfits so that Sage's python knows about it. This means finding the installation instructions for pyfits and do them using sage -python instead of your system installation of python:
1. download pyfits to /path/to/pyfits/
2. cd /path/to/pyfits
3. sage -python setup.py install
See also answers to this question.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.