Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

grep'ing the SimpleCV library reveals that the "ORANGE_ENABLED" variable is set in the module. Here's the relevant block of code from

        import orange
    except ImportError:
        import Orange; import orange
    import orngTest #for cross validation
    import orngStat
    import orngEnsemble # for bagging / boosting
except ImportError:

If SVMClassifier is failing for you on the ORANGE_ENABLED check, then we know that the import failed in the code block above.

Are you sure that the script you are executing is using the same python installation as the other scripts where the Orange import succeeds? I would suggest that you try and interactively import orange at the console and see if it works. Perhaps that will help you narrow down the source of the problem.