“无法找到Protobuf包含目录"当我使用"pip install mysql-connector"时 [英] "Unable to find Protobuf include directory" when I use "pip install mysql-connector"
本文介绍了“无法找到Protobuf包含目录"当我使用"pip install mysql-connector"时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试使用pip install mysql-connector加载时出现此错误.我也尝试过pip安装Protobuf,但没有解决方案.
I get this error when I try to load using pip install mysql-connector. I tried pip install Protobuf too but no solution.
# Python architecture: 64-bit
# Python ARCH_64BIT: True
Unable to find Protobuf include directory.
# Python architecture: 64-bit
# Python ARCH_64BIT: True
Unable to find Protobuf include directory.
推荐答案
我发现这很有用:
pip install mysql-connector == 2.1.4已过时.建议使用pip install mysql-connector-python
.
pip install mysql-connector==2.1.4 is obsolete. pip install mysql-connector-python
is suggested.
这篇关于“无法找到Protobuf包含目录"当我使用"pip install mysql-connector"时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文