pip install fails with /usr/bin/clang: No such file or directory

北城以北 提交于 2019-11-27 21:36:27

This probably happens because you did not re-install the Command Line Tools after upgrading.

Usually XCode should be upgraded to the latest version (4.4) (I believe when I updated to 10.8 I also updated a whole bunch of other applications, including XCode). After the update you need to re-install the Command Line Tools. This can now be done via a setting in XCode:

Go to "Preferences -> Downloads" and install "Command Line Tools".

Now you should have no more problems when installing packages that need to be compiled.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!