Module not found

已回答

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?

0

Hi,

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

0

请先登录再写评论。