python - Error in installing newspaper3k package via pip -


i trying install newspaper3k. doing accordingly installation guide

sudo apt-get install python-dev

sudo apt-get install libxml2-dev libxslt-dev

sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev

pip3 install newspaper

while running pip install newspaper getting:

traceback (most recent call last):    file "<string>", line 17, in <module>    file "/tmp/pip_build_ovd/nltk/setup.py", line 23, in <module>      distribute_setup.use_setuptools()    file "/tmp/pip_build_ovd/nltk/distribute_setup.py", line 145, in use_setuptools      return _do_download(version, download_base, to_dir, download_delay)    file "/tmp/pip_build_ovd/nltk/distribute_setup.py", line 125, in _do_download      _build_egg(egg, tarball, to_dir)    file "/tmp/pip_build_ovd/nltk/distribute_setup.py", line 116, in _build_egg      raise ioerror('could not build egg.')  oserror: not build egg.  ---------------------------------------- cleaning up... command python setup.py egg_info failed error code 1 in /tmp/pip_build_ovd/nltk 

i have never faced errors of type. way fix , doing wrong?

installation github have helped me.

pip3 install git+https://github.com/codelucas/newspaper.git


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -