Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install fails on Python 3.5.1

See original GitHub issue

This seems to be due to an older nltk version. nltk 3.2.1 installs fine.

Collecting nltk==2.0.5 (from newspaper)
  Downloading nltk-2.0.5.tar.gz (954kB)
    100% |████████████████████████████████| 958kB 105kB/s 
    Complete output from command python egg_info:
    Extracting in /tmp/tmp_s3pa1pm
    Traceback (most recent call last):
      File "/tmp/pip-build-0cdit31h/nltk/", line 143, in use_setuptools
        raise ImportError

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-0cdit31h/nltk/", line 23, in <module>
      File "/tmp/pip-build-0cdit31h/nltk/", line 145, in use_setuptools
        return _do_download(version, download_base, to_dir, download_delay)
      File "/tmp/pip-build-0cdit31h/nltk/", line 125, in _do_download
        _build_egg(egg, tarball, to_dir)
      File "/tmp/pip-build-0cdit31h/nltk/", line 99, in _build_egg
      File "/tmp/pip-build-0cdit31h/nltk/", line 467, in _extractall
        self.chown(tarinfo, dirpath)
    TypeError: chown() missing 1 required positional argument: 'numeric_owner'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

yprezcommented, May 5, 2016

I think you’re installing the wrong version of newspaper… the Python 3 version is newspaper3k. Can you try: pip install newspaper3k?

yprezcommented, May 5, 2016

@michaelmior True, currently the installation instructions are somewhere far below in the readme…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue 25954: Python 3.5.1 installer fails on Windows 7
When I try to install by running N:\Downloads\python-3.5.1.exe, it fails with the error shown above. When I copy the file to the C:...
Read more >
Issues installing on windows 10 python 3.5.1 · Issue #10 · fogleman ...
On freshly upgraded pip and setup tools Im having issues getting past a fail to install of pyHull. Manual pip install fails as...
Read more >
Pip doesn't recognise python 3.5.1 as the latest version
Your default pip location ( pip ) is probably used for Python 2.7. For Python 3.5 you should have pip3.5 available to install...
Read more >
setuptools 3.5.1 - PyPI
Easily download, build, install, upgrade, and uninstall Python packages. ... If you have working, tested patches to correct problems or add features, ...
Read more >
Install Python support - Visual Studio (Windows)
Exe.x64;PackageAction:DownloadPackage;ReturnCode:0x80070193 . These errors occur when the download or install of Python from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found