Skip to content
Advertisement

Resource reuters not found

I’m using windows system, python 3.7 when I install:

JavaScript

it has no problem to import, and I also already install nltk in my cmd

but when I conduct the code:

JavaScript

it has some Error, and I don’t know how to fix it… However, the code works well on my MacBook I’m wondering what’s going on with the windows system p.s I use anaconda, and on the windows computer, the anaconda is installed on E:

JavaScript

Advertisement

Answer

You don’t have the corpus in your new environment.

Download the corpus as suggested in the error message:

JavaScript

Alternatively, you can also download the corpus from command line:

JavaScript

See also: How do I download NLTK data?

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement