我正在嘗試安裝newspaper3k
。 我做相應一切以installation guide通過點安裝newspaper3k包的錯誤
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
在運行pip install newspaper
我越來越:
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 the egg.')
OSError: Could not build the egg.
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_ovd/nltk
我從來沒有遇到這種類型的錯誤。有什麼方法可以解決這個問題,我做錯了什麼?