我已經收到以下錯誤和Django:未按規定安裝scikits.sparse - 鏘錯誤
Exception Type: ImportError
Exception Value: No module named sparse
的導入錯誤來源於:
from sklearn.svm.sparse import LinearSVC
from nltk.classify.scikitlearn import SklearnClassifier
爲了解決這個問題,我想
sudo easy_install scikits.sparse
但我收到此錯誤:通過以下安裝稀疏模塊scikit學習
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
我該如何解決這個問題?
謝謝。
非常感謝! – yonatano