Install VBox CentOS OpenEMM 20.04 | Python 3.8.1 | MySQL-python error
Posted: Tue May 12, 2020 5:14 am
Hello,
I have just upgraded my CentOS VBox image from OpenEMM 19 to 20.04. I have also compiled and installed python 3.8.1 into /home/openemm/opt/python3. When I execute OpenEMMInstaller.sh Python 3 is found. Unfortunately the following error is thrown:
Mandatory python mysql module is missing!
The suggested solution is to install MySQL-python. It would appear, though, that MySQL-python does not work with python3. I also receive the "No module named 'ConfigParser'" error mentioned here:
https://stackoverflow.com/questions/537 ... l-4nev4id4
I have successfully installed the following:
configparser-5.0.0-py3.8
mysql_connector_python-8.0.20
PyMySQL-0.9.3
Would it be possible update the OpenEMM code to enable one to connect to MySQL from Python 3?
Best, Richard
I have just upgraded my CentOS VBox image from OpenEMM 19 to 20.04. I have also compiled and installed python 3.8.1 into /home/openemm/opt/python3. When I execute OpenEMMInstaller.sh Python 3 is found. Unfortunately the following error is thrown:
Mandatory python mysql module is missing!
The suggested solution is to install MySQL-python. It would appear, though, that MySQL-python does not work with python3. I also receive the "No module named 'ConfigParser'" error mentioned here:
https://stackoverflow.com/questions/537 ... l-4nev4id4
I have successfully installed the following:
configparser-5.0.0-py3.8
mysql_connector_python-8.0.20
PyMySQL-0.9.3
Would it be possible update the OpenEMM code to enable one to connect to MySQL from Python 3?
Best, Richard