import mysql.connector
ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package
pip install mysql-connector-python-rf
python version-3.7.2
pip install mysql-connector-python-rf
pip install mysql-connector-python 
succesfully installed
import mysql.connector
ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package
whereas when I import mysql gives no error message
resolved by renaming the file to anything else than MySQL.py as it just tries to load itself I guess
import mysql.connector ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package