Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pke' #1

Open
Jheel-patel opened this issue Dec 7, 2020 · 3 comments
Open

ModuleNotFoundError: No module named 'pke' #1

Jheel-patel opened this issue Dec 7, 2020 · 3 comments

Comments

@Jheel-patel
Copy link

Received the following error on using it


ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-19-01fbd239b3d2> in <module>()
----> 1 from topicrankpy import extractinformation as t

/usr/local/lib/python3.6/dist-packages/topicrankpy/__init__.py in <module>()
      1 from __future__ import absolute_import
      2 
----> 3 from pke.data_structures import Candidate, Document, Sentence
      4 from pke.readers import MinimalCoreNLPReader, RawTextReader
      5 from pke.base import LoadFile

ModuleNotFoundError: No module named 'pke'
@rjadr
Copy link

rjadr commented Jan 25, 2021

Install this: pip install git+https://github.com/boudinfl/pke.git

@zepef
Copy link

zepef commented May 17, 2021

Don't forget to add:

python -m nltk.downloader stopwords
python -m nltk.downloader universal_tagset
python -m spacy download en # download the english model

@zepef
Copy link

zepef commented May 17, 2021

Having spacy installed of course...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants