我知道之前已经有人问过这个问题,我在安装时遇到问题
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”的模块