HelioHost Posted November 28, 2017 Posted November 28, 2017 Username: jthorne, Server: Johnny, Main domain: jthorne.heliohost.org Can't seem to import MySQLdb in a python script. I searched the forum logsand saw that Python 2.7 is required for that, so changed the shebang; stillno luck in the testscript.py.
Krydos Posted November 28, 2017 Posted November 28, 2017 The import MySQLdb command wasn't working on Johnny python2.7 because no one had requested the mysqlclient module to be installed on that server and version. It's installed now. You can check which modules are installed on Johnny python2.7 at this link https://krydos2.heliohost.org/cgi-bin/modules27.py
Recommended Posts