[Solved] “Unable to find Protobuf include directory” when I use “pip install mysql-connector”
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.
I found this useful:
pip install mysql-connector==2.1.4 is obsolete.
pip install mysql-connector-python is suggested.
The official package name of MySQL Connector for Python is
pip install mysql-connector-python
mysql-connector is a fork package, and is stopped updating, so
pip install mysql-connector
will install this obsolete version.