0

I am trying to use below library which is available in website

https://pypi.org/project/text-summarizer/

from text_summarizer import summarizer

As informed in website i have installed text_summarizer package using below syntax below when loading it in python i am getting error ImportError: cannot import name 'summarizer'

Can anyone help me if this package is working

user3734568
  • 1,311
  • 2
  • 22
  • 36
  • 1
    Did you name your own file `text_summarizer.py`? – Bryan Oakley Aug 21 '18 at 14:48
  • @BryanOakley, no I tried to run script which mentioned in web site post installation of package text_summarizer , but first line throwing error " ImportError: cannot import name 'summarizer'" – user3734568 Aug 22 '18 at 11:50

1 Answers1

0

Check if you have a circular dependencies import. This might just be the same answer as this question here: ImportError: Cannot import name X

NotSoShabby
  • 3,316
  • 9
  • 32
  • 56