PyCharm导入MySQL

2024-05-29 01:58:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我在努力

import MySQLdb as mdb

在PyCharm上并得到错误:

ImportError: No module named MySQLdb

从PyCharm首选项中,找不到要导入的MySQLdb。 不过,pymysql已成功安装在PyCharm上。 建议?非常感谢你。

enter image description hereenter image description here


Tags: noimportas错误建议pycharmnamedmodule

热门问题