How can I connect to MySQL in Windows 7 from an app written in Python 3.4.3?
I've been looking all around, but non seems to really work.
I did this:
C:\Users\Me>py -3.4 -m pip install P
Collecting PyMySQL
Downloading PyMySQL-0.6.4-py2.py3-none
100% |##############################
Installing collected packages: PyMySQL
Successfully installed PyMySQL-0.6.4
According to the message, it installed correctly, but still I get the below error:
>>> import MySQLdb
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import MySQLdb
ImportError: No module named 'MySQLdb'
How can I make it work right? Thank you all in advance.