Hello, community! I have been running Manjaro since 2017 and I pretty much know how to install software either from pamac or the terminal. However, sometimes things go wrong, in a way I cannot resolve by myself.
I installed Pyraf through PyPI. The recommended action was to run “pip install pyraf”. However, because I know that every now and then Python2 and Python3 commands get messy, I ran “pip3 install pyraf”. The recommendation from the terminal was to create a virtual environment to install pyraf, either manually or through pipx - so I ran “pipx install pyraf”. It seems to have been installed, though I get the following error message when I try to open it through the CL:
"OSError:
Your “iraf” environment variable is not defined and could not be
determined from /usr/local/bin/cl. This is are needed to find IRAF
tasks. Before starting pyraf, define ot by doing (for example):
export iraf=/iraf/iraf/
at the Unix command line. Actual values will depend on your IRAF installation,
and they are set during the IRAF user installation.
Also be sure to run the “mkiraf” command to create a logion.cl"
I do not know what to do exactly with this message. Could you provide some insights on what is happening indeed and how I should proceed?
Thank you in advance!