Can't install Orange: “error: command 'clang' failed with exit status 1”

两盒软妹~` 提交于 2019-11-28 23:49:36

Problem solved: Xcode 4 doesn't actually come with gcc-4.2; it comes with the new LLVM compilers.

It was just a matter of doing:

export CC=llvm-gcc-4.2
export CXX=llvm-g++-4.2

then building Orange.

From http://orange.biolab.si/forum/viewtopic.php?f=4&t=1568

export CC=gcc
export CXX=g++
pip install orange # for example

It seems more robust to not have to get into version number details if you don't have to, right? (I have not had to do this sort of thing before, so I don't know for sure.)

Update: The pip install orange example (above) currently installs an older version of Orange (version 2.5a4 ) instead of 2.6. To get the development version, use:

pip install -e hg+https://bitbucket.org/biolab/orange#egg=Orange

I got the above command from here.

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