root@observium:/opt/observium# python -c "import MySQLdb; print(MySQLdb.__version__)"
1.2.3

root@observium:/opt/observium# python3 -c "import pymysql; print(pymysql.__version__)"
-bash: python3: command not found


On 2018-11-14 08:38, Mike Stupalov wrote:
if pip/pip3 not installed, pls show different command:

for python2:
python -c "import MySQLdb; print(MySQLdb.__version__)"

for python3:
python3 -c "import pymysql; print(pymysql.__version__)"