statsmaths/cleanNLP

Error: Python module 'cleannlp' not found - Take 2

neil-f opened this issue · 0 comments

I am having a similar problem to below.

I have gone though and appear to successfully installed cleannlp with "pip install cleannlp"
In the anaconda3/Lib/site-packages directory there are, amongst others, the following directories:

  • cleannlp-1.0.3.dist-info;
  • cleannlp
    Inside the cleannlp directory there are 3 python files and 1 directory:
  • init.py
  • corenlp.py
  • spacy.py
  • pycache (directory)

I cannopt find the python file "cleannlp.py" anywhere in the site-packages directory.

I am using Win10 and RStudio 3.6.3 and cleanNLP version 3.0.2.

In R cnlp_init_udpipe() works but cnlp_init_spacy() and cnlp_init_corenlp() both generate the "Error: Python module 'cleannlp' not found" message.

What and I (we) missing?

Many thanks