文章詳情頁
mysql - python,protobuf安裝
瀏覽:170日期:2022-06-12 13:57:32
問題描述
系統(tǒng):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 執(zhí)行指令 python setup.py build,
python setup.py test, python setup.py install
當(dāng)執(zhí)行到python setup.py test 出錯,顯示:can’ not find google/protobuf/internal/test_bad_identifiers.proto 已經(jīng)蒙了.....

問題解答
回答1:缺少Protobuf。windows我不清楚,*uix直接config,make 、make install就行了。
相關(guān)文章:
排行榜

熱門標(biāo)簽
網(wǎng)公網(wǎng)安備