Error importing scipy.sparse._sparsetools

前端 未结 3 477
一生所求
一生所求 2021-01-13 00:04

I\'m working on a macbook pro trying to use the gensim package to do Word2Vec. I had used the model earlier in the week, but when I tried to resume using it, I was given an

3条回答
  •  隐瞒了意图╮
    2021-01-13 00:59

    I had the same problem and fixed it by uninstall and reinstall scipy package.

    If you are not a conda user check it out:

    pip uninstall scipy
    
    # or
    
    apt-get remove python-scipy
    
    # Then:
    
    pip install scipy
    

    In Python3:

    pip3 uninstall scipy
    
    # or
    
    apt-get remove python3-scipy
    
    # Then:
    
    pip3 install scipy
    

提交回复
热议问题