Page 1 of 1

Runtime Deploymnet fails?

Posted: Mon Jun 15, 2020 12:41 pm
by JuergenB
Hi,

i followed you new Admi Guide and Deployment 5.2 fails.

This is the error message

[openemm@emm ~]$ ./bin/OpenEMMInstaller.sh
Checking python installation ...
Mandatory python runtime is missing!
Command to install python runtime: 'sudo yum -y install python'
Install python runtime now? Y/n

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for openemm:

What should i do here?

Re: Runtime Deploymnet fails?

Posted: Mon Jun 15, 2020 1:42 pm
by maschoff
It depends. For OpenEMM 19.10 you may install the python package, but for OpenEMM you have to manually compile Python 3.8.

Re: Runtime Deploymnet fails?

Posted: Mon Jun 15, 2020 1:58 pm
by JuergenB
Thats right.

If you use CentOS 7 and OpenEMM 19.x:
# yum install python
If you use CentOS 8 and OpenEMM 19.x:
# yum install python2 python2-lxml python2-dns python2-pip python2-devel
# alternatives --set python /usr/bin/python2

If you use OpenEMM 20.04, you have to compile Python 3.8 or later

But no info about Python 3 or 3.6
3.6 is the default CentOS 8 version.

So, do wee need a sudo dnf install python3 for CentOS 8?

before compilation of 3.8 ?

Re: Runtime Deploymnet fails?

Posted: Fri Jun 19, 2020 6:43 pm
by JuergenB
I found a good way to install 20.04 with CentOS 8 now.

compile Python 3.8.3
dnf -y install mariadb-server
dnf -y install mariadb-devel
python3 -m pip install mysqlclient