mac下python導(dǎo)入以太坊web3庫時出現(xiàn)cytoolz相關(guān)錯誤

導(dǎo)入web3出現(xiàn)cytoolz相關(guān)錯誤,于是就接著pip3 install cytoolz,出現(xiàn)很多錯誤,結(jié)尾出現(xiàn)類似如下的錯誤。在網(wǎng)上找了兩天都沒找到原因。偶然間查到了原因,應(yīng)該是跟mac系統(tǒng)升級了有關(guān)系,因為我以前裝過老版本的cytoolz,沒問題。

git: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!

git: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch

ERROR: Command errored out with exit status 71(或者73,錯誤我沒完整保存):


解決方法:

sudo xcode-select --switch /Library/Developer/CommandLineTools/

再pip3 install cytoolz.

成功,沒有任何錯誤!

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

友情鏈接更多精彩內(nèi)容