ImportError: cannot import name __check_build while importing TfidfVectorizer from sklearn

前端 未结 2 1114

I am using Python 2.7.10 and have installed scikit-0.15.2 using pip and i already have \"numpy-1.1.10\" and \"scipy-0.16.0\" installed and it works fine but when i try to import

相关标签:
2条回答
  • 2021-01-24 12:05

    For windows user try to install numpy+mkl package from http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikit-learn and after successful installation restart the python

    0 讨论(0)
  • 2021-01-24 12:13

    Had the same problem. installing scipy solved the problem for me. Try...

    #sudo pip install scipy
    

    What does it say if you fire up a python prompt and type

    import scipy
    

    also there might be some pointers in this thread ImportError in importing from sklearn: cannot import name check_build

    0 讨论(0)
提交回复
热议问题