ImportError: No module named 'MySQL'

J'ai téléchargé le Connecteur/Python for MySQL avec succès. J'ai utilisé le code suivant dans Python shell pour tester ma connexion:

import mysql.connector

J'ai reçu le message d'erreur suivant:

Traceback (most recent call last):
  File "<pyshell#8>", line 1, in <module>
    import mysql.connector
ImportError: No module named 'mysql'

Je ne peux pas comprendre pourquoi MySQL n'est pas reconnu.

Est python configuré dans votre variable d'environnement PATH? Je crois que c'est nécessaire pour une installation correcte.
Je suis nouveau sur ce! Comment dois-je faire?
Quelle plate-forme êtes-vous? Windows?
OS X, je l'ai testé dans mon shell: print(get_python_lib()) et il est retourné /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
print(sys.path) ['/Users/Noah/Desktop/Melanie', '/Users/Noah/Documents', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python35.zip', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/plat-darwin', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages']

OriginalL'auteur Melanie | 2015-10-01