I've been getting the following error with django:
Exception Type: ImportError
Exception Value: No module named sparse
The importerror comes from:
from sklearn.svm.sparse import LinearSVC
from nltk.classify.scikitlearn import SklearnClassifier
To solve this I'm trying to install the sparse module for scikit-learn via the following:
sudo easy_install scikits.sparse
But I am getting this error:
no previously-included directories found matching 'doc/_build'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
clang: error: no such file or directory: 'scikits/sparse/cholmod.c'
clang: error: no input files
error: Setup script exited with error: command 'clang' failed with exit status 1
How can I solve this problem?
Thanks.