Your iraf and IRAFARCH environment variables

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
khary23
Freshman Member
Posts: 52
Joined: Tue Jun 19, 2007 3:26 pm
Location: Broooklyn,NY

Your iraf and IRAFARCH environment variables

#1 Post by khary23 » Wed May 18, 2011 1:27 pm

Hi,

I am trying to run PyRaf and get this error when I do

Your iraf and IRAFARCH environment variables are not defined and could not
be determined from /usr/local/bin/cl. Before starting pyraf, define them
by doing (for example)
setenv iraf /usr/local/iraf/
setenv IRAFARCH redhat
at the Unix command line. The values will depend on your IRAF installation.

/usr/local/lib/python2.6/dist-packages/pyraf/irafimport.py:65: RuntimeWarning: Parent module 'pyraf' not found while handling absolute import
return _originalImport(name, globals, locals, fromlist, level)

I guess what I have to do is define my iraf and IRAFARCH variables, but I have no idea how to go about that. Any and all help would be appreciated.
thanks

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 2 guests