導(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.
成功,沒有任何錯誤!