Runtime Deploymnet fails?

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

JuergenB
Posts: 140
Joined: Thu Dec 05, 2019 9:03 pm

Runtime Deploymnet fails?

Post 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?
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Runtime Deploymnet fails?

Post 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.
OpenEMM Maintainer
JuergenB
Posts: 140
Joined: Thu Dec 05, 2019 9:03 pm

Re: Runtime Deploymnet fails?

Post 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 ?
JuergenB
Posts: 140
Joined: Thu Dec 05, 2019 9:03 pm

Re: Runtime Deploymnet fails?

Post 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
Post Reply