美文网首页
mac下python导入以太坊web3库时出现cytoolz相关

mac下python导入以太坊web3库时出现cytoolz相关

作者: flymoon100 | 来源:发表于2020-07-13 22:38 被阅读0次

导入web3出现cytoolz相关错误,于是就接着pip3 install cytoolz,出现很多错误,结尾出现类似如下的错误。在网上找了两天都没找到原因。偶然间查到了原因,应该是跟mac系统升级了有关系,因为我以前装过老版本的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.

成功,没有任何错误!

相关文章

网友评论

      本文标题:mac下python导入以太坊web3库时出现cytoolz相关

      本文链接:https://www.haomeiwen.com/subject/zicthktx.html