All,

 

I am using an Python based UDF and have enabled embedpy=true for DB with Python version 2.7.5.

 

This works fine with CentOS 7, but the same doesn’t wok on Red Hat Ent Linux version. Is there any dependency on this? Is it due to OS version?

 

Am getting below error though Python path is proper in Red Hat OS version server.

 

Embedded Python is enabled but an error was thrown during initialization.

 

Can anyone provide some help on this?

 

Both uses same version of MonetDB server version.

 

MonetDB server on which function works fine

 

[user@lnx1535 ~]$ cat /etc/os-release

NAME="CentOS Linux"

VERSION="7 (Core)"

ID="centos"

ID_LIKE="rhel fedora"

VERSION_ID="7"

PRETTY_NAME="CentOS Linux 7 (Core)"

ANSI_COLOR="0;31"

CPE_NAME="cpe:/o:centos:centos:7"

HOME_URL="https://www.centos.org/"

BUG_REPORT_URL="https://bugs.centos.org/"

 

CENTOS_MANTISBT_PROJECT="CentOS-7"

CENTOS_MANTISBT_PROJECT_VERSION="7"

REDHAT_SUPPORT_PRODUCT="centos"

REDHAT_SUPPORT_PRODUCT_VERSION="7"

 

CENTOS_MANTISBT_PROJECT="CentOS-7"

CENTOS_MANTISBT_PROJECT_VERSION="7"

REDHAT_SUPPORT_PRODUCT="centos"

REDHAT_SUPPORT_PRODUCT_VERSION="7"

 

 

MonetDB server on Azure where function is not working

 

[user@alcazimdbd01 ~]$ cat /etc/os-release

NAME="Red Hat Enterprise Linux Server"

VERSION="7.5 (Maipo)"

ID="rhel"

ID_LIKE="fedora"

VARIANT="Server"

VARIANT_ID="server"

VERSION_ID="7.5"

PRETTY_NAME="Red Hat Enterprise Linux"

ANSI_COLOR="0;31"

CPE_NAME="cpe:/o:redhat:enterprise_linux:7.5:GA:server"

HOME_URL="https://www.redhat.com/"

BUG_REPORT_URL="https://bugzilla.redhat.com/"

 

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"

REDHAT_BUGZILLA_PRODUCT_VERSION=7.5

REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"

REDHAT_SUPPORT_PRODUCT_VERSION="7.5"

 

 

 

Regards,

Sreejith