1

when i do

import mysql.connector

it says am00.py", line 5, in import mysql.connector ModuleNotFoundError: No module named 'mysql'

but I installed all things that I need(MySQL, python, mysql-connector, mysql-connector-python)

I checked it by $python3 -m pip freeze

And I can check

mysql==0.0.2
mysql-connector==2.2.9
mysql-connector-python==8.0.19
mysql-connector-python-rf==2.2.2
mysqlclient==1.4.6

What is the problem?!

SEU
  • 11
  • 3

0 Answers0