I pulled mysql-connector-python
code and when I run python ./setup.py build
I get the following error:
Unable to find Protobuf include directory.
pip install Protobuf
was useless
How can I solve this problem?
I found that this error occurs since version 2.2.3. You can avoid this issue using version 2.1.6.
pip install mysql-connector==2.1.6
try above.