-
Hello, Dear All, I'm quite new to iraf and pyraf. I just installed them on my MacOS. When running pyraf, I got the error message:
This may further cause some other errors when running other commands, such as:
I tried to create a symbolic of login.cl to the working directory, or run mkiraf -c to create it. Both work well and the error messages disappear. However, I don't want to create login.cl every time I run pyraf in a new directory. It seems if I don't do this, pyraf cannot find the correct login.cl in my iraf directory automatically. How to solve the problem? Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Please always specify which version of IRAF, PyRAF and Python you are using, and how you installed it. PyRAF (2.2.1) searches
with
on your PyRAF prompt (should be |
Beta Was this translation helpful? Give feedback.
OK, I found the cause. The search in
hlib$
was added only after version 2.2.1 (in iraf-community/pyraf#150). You should therefore create a user default one withmkiraf -c -d
for the time being. This will be fixed with the next version.