- You should use
sudo
to run all Pythonnewspaper
download()
commands.
- TextBlob
- Newspaper3k
First cd /path/to/file
.
$ sudo pip3 install -U textblob
$ python3 -m textblob.download_corpora
$ sudo apt-get install python-dev
$ sudo apt-get install libxml2-dev libxslt-dev #3?
$ sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev
$ sudo pip3 install newspaper3k
$ curl https://raw.githubusercontent.com/codelucas/newspaper/master/download_corpora.py | python3