I\'m trying to use PyMySQL on Ubuntu.
I\'ve installed pymysql using both pip and pip3 but every time I use import pymysq
pymysql
pip
pip3
import pymysq
I had this same problem just now, and found the reason was my editor (Visual Studio Code) was running against the wrong instance of python; I had it set to run again python bundled with tensorflow, I changed it to my Anaconda python and it worked.