# Revision history [back]

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

ORANGE_ENABLED = True
try:
try:
import orange
except ImportError:
import Orange; import orange
import orngTest #for cross validation
import orngStat
import orngEnsemble # for bagging / boosting
except ImportError:
ORANGE_ENABLED = False


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.