[Health] Installation problem - Found an Incompatible Python version
From:
mohamed satti
Subject:
[Health] Installation problem - Found an Incompatible Python version
Date:
Thu, 1 Mar 2018 14:23:12 +0200
Hi Luis and Dev Team
Two weeks ago I successfully installed GNU server and Client at Debian and worked smoothly.
Now I trying to install the system on Ubuntu but I have a problem with Python compatibility. this is the problem:
=========
address@hidden:~/gnuhealth-3.2.9$ ./gnuhealth-setup install 2018-03-01 11:53:36 [INFO] Starting GNU Health 3.2.9 installation... 2018-03-01 11:53:36 [INFO] Checking requirements -> Looking for wget... wget is /usr/bin/wget -> Looking for 2to3... 2to3 is /usr/bin/2to3 -> Looking for patch... patch is /usr/bin/patch -> Looking for the Python Interpreter command... python is /usr/bin/python Python 2.7.12 2018-03-01 11:53:36 [ERROR]Found an Incompatible Python version. 2018-03-01 11:53:36 [INFO] Bailing out ! 2018-03-01 11:53:36 [INFO] Cleaning up temp directories at 2018-03-01 11:53:36 [INFO] removing base dir at
=========
I tried to change the default Python version from python2 to 3 using ((
address@hidden:/home/gnuhealth/gnuhealth-3.2.9# alias python=/usr/bin/python3 address@hidden:/home/gnuhealth/gnuhealth-3.2.9# python -V Python 3.5.2
)) but it was useless, the problem still exists.
if this this may help in troubleshooting, is listed all python versions:
{{ address@hidden:~$ ls -l /usr/bin/python* lrwxrwxrwx 1 root root 9 Nov 24 02:52 /usr/bin/python -> python2.7 lrwxrwxrwx 1 root root 9 Nov 24 02:52 /usr/bin/python2 -> python2.7 -rwxr-xr-x 1 root root 3492656 Dec 4 20:14 /usr/bin/python2.7 lrwxrwxrwx 1 root root 33 Dec 4 20:14 /usr/bin/python2.7-config -> x86_64-linux-gnu-python2.7-config lrwxrwxrwx 1 root root 16 Nov 24 02:52 /usr/bin/python2-config -> python2.7-config lrwxrwxrwx 1 root root 9 Mar 23 2016 /usr/bin/python3 -> python3.5 -rwxr-xr-x 2 root root 4464400 Nov 28 18:53 /usr/bin/python3.5 -rwxr-xr-x 2 root root 4464400 Nov 28 18:53 /usr/bin/python3.5m -rwxr-xr-x 2 root root 4695328 Jan 28 20:49 /usr/bin/python3.6 -rwxr-xr-x 2 root root 4695328 Jan 28 20:49 /usr/bin/python3.6m lrwxrwxrwx 1 root root 10 Mar 23 2016 /usr/bin/python3m -> python3.5m lrwxrwxrwx 1 root root 16 Nov 24 02:52 /usr/bin/python-config -> python2.7-config