2

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.

Partha Sen
  • 2,759
  • 1
  • 18
  • 17

2 Answers2

2

I found this useful:

pip install mysql-connector==2.1.4 is obsolete. pip install mysql-connector-python is suggested.

Partha Sen
  • 2,759
  • 1
  • 18
  • 17
0

The official package name of MySQL Connector for Python is mysql-connector-python:

pip install mysql-connector-python

And mysql-connector is a fork package, and is stopped updating, so

pip install mysql-connector

will install this obsolete version.

YaOzI
  • 16,128
  • 9
  • 76
  • 72