ModuleNotFoundError:尽管已成功安装所有连接器,但没有名为“ mysql”的模块

时间:2020-02-11 17:26:40

标签: python mysql visual-studio-code

我知道之前已经有人问过这个问题,我在安装时遇到问题

pip3 install mysql-connector-python
pip3 install mysql-connector-python-rf

pip install mysql-connector-python
pip install mysql-connector-python-rf

我已经解决了这些问题,当我搜索它们时,我得到了:

INSTALLED: 0.0.2 (latest)
mysql-connector-python-dd (2.0.2)              - MySQL driver written in Python
mysql-connector-python-rf (2.2.2)              - MySQL driver written in Python

但是我仍然得到:

ModuleNotFoundError:没有名为“ mysql”的模块

0 个答案:

没有答案