Error importing scipy.sparse._sparsetools

前端 未结 3 541
一生所求
一生所求 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:55

    Your issue is likely caused by a linking problem described in this github issue.

    Since you are already using anaconda, probably the best strategy for you is to use compiled binaries instead of trying to compile with pip yourself.

    The only two things you have to do is:

    pip uninstall scipy
    conda install scipy
    

提交回复
热议问题