I will work with mysql, but it gives this error anyway. I did delete the module but it did not change, I loaded it differently, I could not solve the modules.
Traceback (most recent call last): File "C:UsersINALDesktopSon Scriptlermysqlmysql.py", line 1, in <module> import mysql.connector File "C:UsersINALDesktopSon Scriptlermysqlmysql.py", line 1, in <module> import mysql.connector ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package
You might not have the mysql-connector did you try installing it using pip?
mysql-connector
pip3 install mysql-connector
1.4m articles
1.4m replys
5 comments
56.9k users