I have two files. The first one has the connection and the getting of data. I import mysql.connector. This file is called tasksSql.py
def get_users():
im
In my case, after the recent (Mac OS High Sierra) upgrade and the subsequent brew upgrade, I started to see the above error. I followed the above instructions but still got the same error message. Then I realised that I had to use python2 which points to the brew installed python rather than the os x installed one.