boudinfl / pke

Python Keyphrase Extraction module
GNU General Public License v3.0
1.57k stars 291 forks source link

Error: module 'scipy.sparse' has no attribute 'coo_array' #213

Closed artdream-dubai closed 1 year ago

artdream-dubai commented 1 year ago

Hi!

Today I faced the error: module 'scipy.sparse' has no attribute 'coo_array' in Colab "Getting started with pke and keyphrase extraction" - step-5 : ranking keyphrase candidates (the same in other the Colabs in this stage)

I worked with it more than a month ago and it was ok, but something has happened.

Thank you a lot for this instrument! Exploit it in scientific research.

sadaqabdo commented 1 year ago

You probably have an old version of scipy in your enviroment, try to upgrade your scipy module to versions higher than 1.8

pip install 'scipy>=1.8'

this issue has been previously discussed issue 206.