Skip to content

Error while installing PyTLDR on Ubuntu Python2 #1

@JafferWilson

Description

@JafferWilson

This is the error:

pip install pytldr
Collecting pytldr
  Downloading PyTLDR-0.1.4.tar.gz
/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/setuptools/command/install_scripts.py:3: UserWarning: Module certifi was already imported from /usr/local/lib/python2.7/dist-packages/certifi/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/certifi-2017.04.17-py2.7.egg is being added to sys.path
  from pkg_resources import Distribution, PathMetadata, ensure_directory
/usr/local/lib/python2.7/dist-packages/distribute-0.6.21-py2.7.egg/setuptools/command/install_scripts.py:3: UserWarning: Module ipaddress was already imported from /usr/local/lib/python2.7/dist-packages/ipaddress.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
  from pkg_resources import Distribution, PathMetadata, ensure_directory
    Complete output from command python setup.py egg_info:
    Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-0.7.zip
    Extracting in /tmp/tmppMtIzZ
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-48XiEa/pytldr/setup.py", line 3, in <module>
        ez_setup.use_setuptools(version='0.7')
      File "ez_setup.py", line 145, in use_setuptools
        return _do_download(version, download_base, to_dir, download_delay)
      File "ez_setup.py", line 120, in _do_download
        _build_egg(egg, archive, to_dir)
      File "ez_setup.py", line 62, in _build_egg
        with archive_context(archive_filename):
      File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
        return self.gen.next()
      File "ez_setup.py", line 100, in archive_context
        with ContextualZipFile(filename) as archive:
      File "ez_setup.py", line 88, in __new__
        return zipfile.ZipFile(*args, **kwargs)
      File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
        self._RealGetContents()
      File "/usr/lib/python2.7/zipfile.py", line 811, in _RealGetContents
        raise BadZipfile, "File is not a zip file"
    zipfile.BadZipfile: File is not a zip file
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-48XiEa/pytldr/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions