Skip to content

Instantly share code, notes, and snippets.

@CrackerJackMack
Created April 1, 2018 08:06
Show Gist options
  • Save CrackerJackMack/c70aea41c4a4490df76ee607e48f64cc to your computer and use it in GitHub Desktop.
Save CrackerJackMack/c70aea41c4a4490df76ee607e48f64cc to your computer and use it in GitHub Desktop.
$ pip install -v 'git+https://github.com/CrackerJackMack/python-pip-source-1.git@master#egg=testpip_1'
Collecting testpip_1 from git+https://github.com/CrackerJackMack/python-pip-source-1.git@master#egg=testpip_1
  Cloning https://github.com/CrackerJackMack/python-pip-source-1.git (to master) to /tmp/pip-build-umBtmi/testpip-1
  Running command git clone -q https://github.com/CrackerJackMack/python-pip-source-1.git /tmp/pip-build-umBtmi/testpip-1
  Running command git show-ref
  cb3008fb845eb7b40537ab24ee6866c99d28a5a5 refs/heads/master
  cb3008fb845eb7b40537ab24ee6866c99d28a5a5 refs/remotes/origin/HEAD
  cb3008fb845eb7b40537ab24ee6866c99d28a5a5 refs/remotes/origin/master
  cb3008fb845eb7b40537ab24ee6866c99d28a5a5 refs/tags/v0.0.1
  Running command git rev-parse HEAD
  cb3008fb845eb7b40537ab24ee6866c99d28a5a5
  Running setup.py (path:/tmp/pip-build-umBtmi/testpip-1/setup.py) egg_info for package testpip-1
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/testpip_1.egg-info
    writing requirements to pip-egg-info/testpip_1.egg-info/requires.txt
    writing pip-egg-info/testpip_1.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/testpip_1.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/testpip_1.egg-info/dependency_links.txt
    writing entry points to pip-egg-info/testpip_1.egg-info/entry_points.txt
    writing manifest file 'pip-egg-info/testpip_1.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/testpip_1.egg-info/SOURCES.txt'
    writing manifest file 'pip-egg-info/testpip_1.egg-info/SOURCES.txt'
  Source in /tmp/pip-build-umBtmi/testpip-1 has version 0.0.1, which satisfies requirement testpip_1 from git+https://github.com/CrackerJackMack/python-pip-source-1.git@master#egg=testpip_1
Collecting libtestpip (from testpip_1)
  1 location(s) to search for versions of libtestpip:
  * https://pypi.python.org/simple/libtestpip/
  Getting page https://pypi.python.org/simple/libtestpip/
  Looking up "https://pypi.python.org/simple/libtestpip/" in the cache
  No cache entry available
  Starting new HTTPS connection (1): pypi.python.org
  https://pypi.python.org:443 "GET /simple/libtestpip/ HTTP/1.1" 404 39
  Status code 404 not in [200, 203, 300, 301]
  Could not fetch URL https://pypi.python.org/simple/libtestpip/: 404 Client Error: Not Found (libtestpip does not exist) for url: https://pypi.python.org/simple/libtestpip/ - skipping
  Could not find a version that satisfies the requirement libtestpip (from testpip_1) (from versions: )
Cleaning up...
  Removing source in /tmp/pip-build-umBtmi/testpip-1
No matching distribution found for libtestpip (from testpip_1)
Exception information:
Traceback (most recent call last):
  File "/home/kevin/.virtualenvs/testinstall_3/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/kevin/.virtualenvs/testinstall_3/local/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run
    wb.build(autobuilding=True)
  File "/home/kevin/.virtualenvs/testinstall_3/local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/home/kevin/.virtualenvs/testinstall_3/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/home/kevin/.virtualenvs/testinstall_3/local/lib/python2.7/site-packages/pip/req/req_set.py", line 554, in _prepare_file
    require_hashes
  File "/home/kevin/.virtualenvs/testinstall_3/local/lib/python2.7/site-packages/pip/req/req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/home/kevin/.virtualenvs/testinstall_3/local/lib/python2.7/site-packages/pip/index.py", line 514, in find_requirement
    'No matching distribution found for %s' % req
DistributionNotFound: No matching distribution found for libtestpip (from testpip_1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment