[英]What is the reason of ModuleNotFoundError: No module named 'mysql' in Python 3.8.10 and Requirement already satisfied in anaconda location problem?
I need to import mysql-connector and I installed it by using pip install mysql-connector-python
.我需要导入 mysql-connector 并使用
pip install mysql-connector-python
安装它。 After the installation, I can see the same error is displayed.安装后,我可以看到显示相同的错误。
After that again I tried to install mysql connector, but it displayed that Requirement already satisfied and show a path in anaconda lib folder.在那之后,我再次尝试安装 mysql 连接器,但它显示Requirement 已经满足并显示 anaconda lib 文件夹中的路径。
Is there any effect from previous installation on Anaconda and how to import mysql-connector to code?之前在 Anaconda 上的安装是否有任何影响以及如何将 mysql-connector 导入代码?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.