0
I have downloaded the script "install_esoreflex" (ftp://ftp.eso.org/pub/dfs/reflex/install_esoreflex) and then execute the following commands:
chmod u+x install_esoreflex
./install_esoreflex
I get the following warnings
WARNING: The following Python version is installed in your system Python 3.7.0
WARNING: Some of the available workflows use functionality
WARNING: only available in version Python 2.6.0 or greater
WARNING: and will not work properly with the installed version.
WARNING: Additionally, python 3.x is not yet supported.
Eventhough I have both Python 3.7.0 and 2.7. Python 2 is installed in /usr/bin/python2 and Python 3 is installed in /home/USER/miniconda3/bin/python3. How can I make the script "know" I have python 2?
Does the command
python —version
give you Python 2 or 3? If it gives version 3, typealias python=python2
and then run the script. This pointspython
to version 2 instead of 3. – agtoever – 2018-12-25T20:22:56.313You must have
python3
first in$PATH
. Try:PATH=/usr/bin:$PATH ./install_esoreflex
. – Arkadiusz Drabczyk – 2018-12-25T20:24:45.380@agtoever it gives Python 3. You mean I have to run
alias python=python2
and then./install_esoreflex
in the same terminal? – bajotupie – 2018-12-25T20:43:53.140Added it as an answer. Please accept it. – agtoever – 2018-12-26T05:52:24.290