title: MySQL Python Connector Failure
body: <p>I have installed Python 3.7 64-bit on my 64-bit OS. I have also Installed mysql-installer-community-8.0.15.0 plus I installed MySQL connector using this code <code>python -m pip install mysql-connector</code> and still when I try to import mysql.connector. I get this error.</p>
  
  <blockquote>
    <p>"C:\Users\Basir
    Payenda\PycharmProjects\newprj\venv\Scripts\python.exe"
    "C:/Users/Basir Payenda/PycharmProjects/newprj/app.py" Traceback (most
    recent call last):   File "C:/Users/Basir
    Payenda/PycharmProjects/newprj/app.py", line 1, in 
        import mysql.connector ModuleNotFoundError: No module named 'mysql'</p>
  </blockquote>
  
  <p>In addition, I installed mysql-connector-python-8.0.15-py3.7-windows-x86-64bit as well on my machine. 
  Please help me solve this problem, I have tried all possible things I could. Thank you</p>
  
  <p>edit:
  Used the following codes to install mysql.connector </p>
  
  <pre><code>C:\Users\Basir Payenda\AppData\Local\Programs\Python\Python37\Scripts&gt;python -m pip install mysql-connector
  </code></pre>
  
  <p>and </p>
  
  <pre><code>pip3 install mysql-connector
  </code></pre>
  
  <p>using pip3 I get this message:</p>
  
  <blockquote>
    <p>Requirement already satisfied: mysql-connector in C:\users\basir
    payenda\appdata\local\programs\python\python37\lib\site-packages
    &lt;2.1.6></p>
  </blockquote>
  
  <p>and again when I go to pycharm and import mysql.connector I get above stated message no module 'mysql' found</p>
  
  <p>edit after 2 hours:
  No answers, I tried this. I uninstalled everything, python, mysql, pychar and reinstalled. Again the same problem. SHOULD I CHANGE MY COMPUTER?</p>