Module is installed and showing in interpreter but even though giving Module Not Found Error

Answered

I have installed PyMySQL module and it is even showing in an interpreter. but when you run the code it gives following error

#code

import PyMySQL

 

import PyMySQL

ModuleNotFoundError: No module named 'PyMySQL' 

in the following image, you can see an error, code and interpreter 


 please help. thank you in advance 

0
1 comment

The post duplicates support request to Pycharm technical support. The problem was solved by using  import pymysql instead of import PyMySQL (https://pymysql.readthedocs.io/en/latest/user/examples.html).

0

Please sign in to leave a comment.