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

前端 未结 3 551
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-15 10:25

I am trying to install Orange on my Mac OS X 10.7.3 (Lion) and I keep getting an error when using either pip or building from source. First, I was getting an error that read

3条回答
  •  萌比男神i
    2020-12-15 10:49

    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.

提交回复
热议问题