SuYeon Choi
SuYeon Choi

Reputation: 67

How to solve 'No module named pymysql'

I use computer that is Window 10 and my Python version is 3.6.

I installed pymysql and MySQLdb as in the picture below.

enter image description here

But When I tried to run python, I got this error : No module named 'pymysql' also, MySQLdb...

How can I solved it?

Upvotes: 0

Views: 9012

Answers (1)

Try to use pip3 install PyMySQL and import pymysql

Upvotes: 2

Related Questions