Okteto + remote mysql databases failed

Hi,
I’ve tried to mysql-connection-python/mysqlclent/pymysql but same error occured no module named ‘mysql’/‘mysqldb’/‘pymysql’.
I’m using python 3.7.7. Had tried to down grade to 2.7 but failed

Kindly seeks for ideas. Thanks

I’d added def pymysql(): before import pymysql and now it 's running but after test, no data inserted to database.

code in action.py
def pymysql():
import pymysql
import datetime