Python modules debug, list current user, No module named

sudo su
python -c 'help("modules")' | grep "mysql"

ls -1 ~/.local/lib/*/site-packages

su - zabbix -s /bin/bash
python -c 'help("modules")' | grep "mysql"

ls -1 ~/.local/lib/*/site-packages

exit

No comments: