ModuleNotFoundError - PyMySQL for python 3
问题 I am trying to get a simple test program working on my machine that connects to a SQL DB. I pip installed and then uninstalled and then installed with pip3: pymysql. the issue I'm getting: import PyMySQL ModuleNotFoundError: No module named 'PyMySQL'. it can be found when i run the command pip list, but not found when running the program itself. I was perusing over other SO Q&A's but nothing helped. Thanks 回答1: First insall PyMySQL using: pip install PyMySQL In python 3 it is pymysql , all in