I'm having a problem running my script file.
This is on Windows 7.
I've downloaded and installed Python 3.4
Downloaded and installed the connector https://dev.mysql.com/downloads/connector/python/
When I run python in my command prompt line by line the script works fine with no problems and returns the data from my database.
python C:\Users\myUser\Documents\python\mysql.py
I get
ImportError: No module named 'mysql.connector'; 'mysql' is not a package
So for some reason it isn't able to find the module when I run the script from the file. It's the first line in it BTW.
import mysql.connector
But it works fine if I just execute Python in my command prompt and then run the line.