Bonky Zhu
If someone is able to show me that what I think or do is not right, I will happily change, for I seek the truth, by which no one was ever truly harmed. It is the person who continues in his self-deception and ignorance who is harmed.

安装allennlp的时候提示jsonnet安装失败

报错提示: Running setup.py install for jsonnet ... error

屏幕快照 2019-11-08 下午8.32.35

貌似这个是 macOS MojaveClang 的锅,使用下面这条命令即可解决

open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg


安装完后,发现 allennlp 可以正常安装

Share

You may also like...

发表评论