Fortunately a new version of the stsci_python is out today! With full support to Python 2.6 (3.0 will take longer).
http://www.stsci.edu/resources/software_hardware/pyraf/stsci_python/current/download
Update (21/06)
Some may have the following error when importing the iraf modules using
from pyraf import iraf
File "", line 38
iraf.set(as = 'host$as/')
^
SyntaxError: invalid syntax
/usr/local/lib/python2.6/dist-packages/pyraf/irafimport.py:54: RuntimeWarning: Parent module 'pyraf' not found while handling absolute import
return _originalImport(name, globals, locals, fromlist, level)
To fix it the trailing slash on the /iraf/iraf/unix/hlib/zzsetenv file on line 38 should be removed. Everything runs smoothly.
Velho, não esqueça de colocar tags nas tuas postagens...
ReplyDelete