{"action":"opened","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2793","labels_url":"https://api.github.com/repos/pypa/pip/issues/2793/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2793/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2793/events","html_url":"https://github.com/pypa/pip/issues/2793","id":77880892,"number":2793,"title":"Pip freeze can't find package when VCS installed","user":{"login":"gremmie","id":597739,"avatar_url":"https://avatars.githubusercontent.com/u/597739?v=3","gravatar_id":"","url":"https://api.github.com/users/gremmie","html_url":"https://github.com/gremmie","followers_url":"https://api.github.com/users/gremmie/followers","following_url":"https://api.github.com/users/gremmie/following{/other_user}","gists_url":"https://api.github.com/users/gremmie/gists{/gist_id}","starred_url":"https://api.github.com/users/gremmie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gremmie/subscriptions","organizations_url":"https://api.github.com/users/gremmie/orgs","repos_url":"https://api.github.com/users/gremmie/repos","events_url":"https://api.github.com/users/gremmie/events{/privacy}","received_events_url":"https://api.github.com/users/gremmie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-19T01:20:26Z","updated_at":"2015-05-19T01:20:26Z","closed_at":null,"body":"I've had this issue for a long time, and can reproduce with version 6.1.1.\r\n\r\nSituation: I have pip installed using a VCS option. Whenever I issue a `pip freeze -r` it complains\r\n\"Requirement file contains <package>, but that package is not installed\".\r\n\r\nRecipe to reproduce (run on a brand new virtualenv):\r\n\r\n```\r\n$ pip install -e git+https://github.com/notanumber/xapian-haystack.git@a3a3a4e7cfba3e2e1be3a42abf59edd29ea03c05#egg=xapian_haystack\r\nObtaining xapian-haystack from git+https://github.com/notanumber/xapian-haystack.git@a3a3a4e7cfba3e2e1be3a42abf59edd29ea03c05#egg=xapian_haystack\r\n  Cloning https://github.com/notanumber/xapian-haystack.git (to a3a3a4e7cfba3e2e1be3a42abf59edd29ea03c05) to ./src/xapian-haystack\r\n  Could not find a tag or branch 'a3a3a4e7cfba3e2e1be3a42abf59edd29ea03c05', assuming commit.\r\nInstalling collected packages: xapian-haystack\r\n  Running setup.py develop for xapian-haystack\r\nSuccessfully installed xapian-haystack\r\n$ pip freeze > requirements.txt\r\n$ pip freeze -r requirements.txt > r.txt\r\nRequirement file contains git+https://github.com/notanumber/xapian-haystack.git@a3a3a4e7cfba3e2e1be3a42abf59edd29ea03c05#egg=xapian_haystack-master, but that package is not installed\r\n$ cat r.txt\r\n## The following requirements were added by pip freeze:\r\n-e git+https://github.com/notanumber/xapian-haystack.git@a3a3a4e7cfba3e2e1be3a42abf59edd29ea03c05#egg=xapian_haystack-master\r\n```"}}