美文网首页
pyecharts 安装报错 dukpy gcc xcrun

pyecharts 安装报错 dukpy gcc xcrun

作者: 小橙子piupiupiu | 来源:发表于2019-01-22 12:56 被阅读0次

    Failed building wheel for dukpy

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    error: command 'gcc' failed with exit status 1

在用pip install pyecharts时,报了以上的错,查了文档、若干个帖子后依旧没解决问题,就想起来是不是macOS更新后出现的问题,经过查证发现的确是这个问题。

解决方式是安装xcode。

如果已有xcode,运行:xcode-select --install 等待运行结束。

此时再运行 pip install pyecharts 就可以顺利安装啦!

相关文章

网友评论

      本文标题:pyecharts 安装报错 dukpy gcc xcrun

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