I pulled mysql-connector-python code and when I run python ./setup.py build I get the following error:
mysql-connector-python
python ./setup.py build
Unable to find Protobuf include directory.
pip install Protobuf was useless
pip install Protobuf
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.
1.4m articles
1.4m replys
5 comments
57.0k users