文章詳情頁
mysql - python,protobuf安裝
瀏覽:102日期:2022-06-12 13:57:32
問題描述
系統(tǒng):windows7 64在用pip3 install mysql-connector時(shí),顯示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 出錯(cuò),顯示:can’ not find google/protobuf/internal/test_bad_identifiers.proto 已經(jīng)蒙了.....
問題解答
回答1:缺少Protobuf。windows我不清楚,*uix直接config,make 、make install就行了。
上一條:MySQL的SELECT...FOR UPDATE究竟起什么作用下一條:mysql - 對于這兩句sql,一個(gè)是用or,一個(gè)是用union all,性能應(yīng)該是后面的好吧?
相關(guān)文章:
排行榜

熱門標(biāo)簽