Skip to content

Error when running script: ModuleNotFoundError: No module named 'MySQLdb' #1

Description

@LothianB

python3 ztp_mikrotik.py
Traceback (most recent call last):
File "ztp_mikrotik.py", line 6, in
import MySQLdb as mdb
ModuleNotFoundError: No module named 'MySQLdb'

Seems there is no ModuleNotFoundError: No module named 'MySQLdb' for python3

I'm new to python Mikrotik API / scripting. Can you help please?

Thanks,

norrie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions