系統:windows7 64
在用pip3 install mysql-connector時,顯示protobuf缺失,
然後方面搜尋後,從google下載protobuf-2.5.0.zip和protoc-2.5.0-win32 .zip,
步驟如下:
把protoc-2.5.0-win32.zip裡的protoc.exe放到protobuf-2.5.0src下,切換到protobuf-2.5.0Python
執行指令python setup.py build ,
python setup.py test,
python setup.py install
當執行到python setup.py test 出錯,顯示:can' not find google/protobuf/internal/test_bad_identifiers.proto
已經蒙了.....
#