i installed mysql connector in cmd . but no module named 'mysql' error is showing code example
Example 1: ImportError: No module named mysql.connector
sudo pip install mysql-connector-python
Example 2: ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package
ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package