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

前端 未结 3 557
爱一瞬间的悲伤
爱一瞬间的悲伤 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条回答
  •  星月不相逢
    2020-12-15 10:49

    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.

提交回复
热议问题