文章詳情頁
mysql - python,protobuf安裝
瀏覽:71日期:2022-06-12 13:57:32
問題描述
系統: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 已經蒙了.....
問題解答
回答1:缺少Protobuf。windows我不清楚,*uix直接config,make 、make install就行了。
相關文章:
排行榜
