New Install openemm-runtime-20.10.070 - Python3 Error
Posted: Fri Dec 04, 2020 2:30 pm
Centos8.2
Open Source Runtime-20.10.070
Followed Directions in OpenEMM 20.10 Install & Admin Guide then applied Chapter 12 - Deployment of Python 3.8 (or later).
When running OMT.sh with Root or Openemm user account - this error message appears:
[root@cmbropenemm openemm]# /home/openemm/bin/OMT.sh
Checking python installation ...
Python version found: 3.8.6
Mandatory python mysql module is missing!
Command to install python mysql module: 'sudo yum -y install MySQL-python'
Install python mysql module now? Y/n n
Mandatory python mysql module is still missing!
Selected Yes the first time around and the install still failed.
Then issued this command and this is the failure I am seeing:
Command:
python3 -m pip install mysqlclient
Error:
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-bjmm40ij/mysqlclient/setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-fy9n0c_u-record/install-
record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-bjmm40ij/mysqlclient/
Any thoughts on how to resolve this failure?
Thank you,
/ray
Open Source Runtime-20.10.070
Followed Directions in OpenEMM 20.10 Install & Admin Guide then applied Chapter 12 - Deployment of Python 3.8 (or later).
When running OMT.sh with Root or Openemm user account - this error message appears:
[root@cmbropenemm openemm]# /home/openemm/bin/OMT.sh
Checking python installation ...
Python version found: 3.8.6
Mandatory python mysql module is missing!
Command to install python mysql module: 'sudo yum -y install MySQL-python'
Install python mysql module now? Y/n n
Mandatory python mysql module is still missing!
Selected Yes the first time around and the install still failed.
Then issued this command and this is the failure I am seeing:
Command:
python3 -m pip install mysqlclient
Error:
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-bjmm40ij/mysqlclient/setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-fy9n0c_u-record/install-
record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-bjmm40ij/mysqlclient/
Any thoughts on how to resolve this failure?
Thank you,
/ray