当我执行以下代码时:
from nltk.classify.scikitlearn import SklearnClassifier
sklearn.naive_bayes import MultinomialNB,BernoulliNB
我收到如下错误:
Traceback (most recent call last):
File "C:\Python27\uni.py", line 2, in <module>
from sklearn.naive_bayes import MultinomialNB,BernoulliNB
File "C:\Python27\lib\site-packages\sklearn\__init__.py", line 56, in <module>
from . import __check_build
ImportError: cannot import name __check_build
我是Python的新手,请帮我解决一下如何解决它