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

已回答

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

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

请先登录再写评论。