Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install ldtp fails because there is no setup.py #49

Open
stuaxo opened this issue Jan 19, 2019 · 0 comments
Open

pip install ldtp fails because there is no setup.py #49

stuaxo opened this issue Jan 19, 2019 · 0 comments

Comments

@stuaxo
Copy link
Contributor

stuaxo commented Jan 19, 2019

$ pip install -v ldtp
Created temporary directory: /tmp/pip-ephem-wheel-cache-r4DZTy
Created temporary directory: /tmp/pip-install-coye19
Collecting ldtp
  1 location(s) to search for versions of ldtp:
  * https://pypi.org/simple/ldtp/
  Getting page https://pypi.org/simple/ldtp/
  Looking up "https://pypi.org/simple/ldtp/" in the cache
  Current age based on date: 398
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 398
  Analyzing links from page https://pypi.org/simple/ldtp/
    Found link https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz#sha256=80a60d8778caf619983e3046bbd4135cfb879f2f21f38c7acef1138eb98ad4a2 (from https://pypi.org/simple/ldtp/), version: 1.0.0
  Using version 1.0.0 (newest of versions: 1.0.0)
  Created temporary directory: /tmp/pip-unpack-ZrM7hn
  Looking up "https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz" in the cache
  Ignoring unknown cache-control directive: 
  Current age based on date: 398
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 398
  Using cached https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/5e/fd/e362c5ea06c62b0f056d60afd6256ee65f1e9882ddac19b8995c49e7d237/ldtp-1.0.0.tar.gz#sha256=80a60d8778caf619983e3046bbd4135cfb879f2f21f38c7acef1138eb98ad4a2 (from https://pypi.org/simple/ldtp/)
  Running setup.py (path:/tmp/pip-install-coye19/ldtp/setup.py) egg_info for package ldtp
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    IOError: [Errno 2] No such file or directory: '/tmp/pip-install-coye19/ldtp/setup.py'
Cleaning up...
  Removing source in /tmp/pip-install-coye19/ldtp
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-coye19/ldtp/
Exception information:
Traceback (most recent call last):
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 228, in main
    status = self.run(options, args)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 291, in run
    resolver.resolve(requirement_set)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 103, in resolve
    self._resolve_one(requirement_set, req)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 257, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 210, in _get_abstract_dist_for
    self.require_hashes
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 324, in prepare_linked_requirement
    abstract_dist.prep_for_dist(finder, self.build_isolation)
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 154, in prep_for_dist
    self.req.run_egg_info()
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 486, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/home/stu/.local/lib/python2.7/site-packages/pip/_internal/utils/misc.py", line 698, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-coye19/ldtp/
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant