Module not found

Answered

Hi,

Importing from pymsql as:

from pymysql import cursors


The import is fine, but beneath the package and module names is a red squiggly line, and when I try to navigate to the cursors symbol with CTRL+B, I get "Cannot find declaration to go to". Why is this the case?

1 comment

Hi,

Do you have pymysql package among other installed packages in Settings/Preferences | Project | Project Interpreter?

0

Please sign in to leave a comment.