{"action":"opened","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/4538","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/4538/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/4538/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/4538/events","html_url":"https://github.com/pypa/pip/issues/4538","id":234979216,"number":4538,"title":"inconsistent uninstall/install behavior","user":{"login":"rgommers","id":98330,"avatar_url":"https://avatars0.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-10T04:26:04Z","updated_at":"2017-06-10T04:26:04Z","closed_at":null,"body":"* Pip version: 9.0.1\r\n* Python version: 2.7\r\n* Operating system: Linux\r\n\r\n### Description:\r\n\r\nI'm trying to install numpy from a local git repo, after first manually uninstalling it to work around another pip issue. It looks like the metadata for installed packages that pip keeps is used in a way that allows inconsistencies - it tells me both that numpy is not installed and that it is installed.\r\n\r\n### What I've run:\r\n\r\n```\r\npip uninstall numpy\r\n...\r\nProceed (y/n)? y\r\n    Successfully uninstalled numpy-1.13.0\r\n\r\n$ pip uninstall numpy\r\nCannot uninstall requirement numpy, not installed\r\n\r\n$ pip install . --user\r\nProcessing /home/rgommers/Code/numpy\r\n  Requirement already satisfied (use --upgrade to upgrade): numpy==1.13.0 from file:///home/rgommers/Code/numpy in /home/rgommers/Code/numpy\r\n\r\n```\r\n\r\nForcing an upgrade succeeds, but the above is still a real issue.\r\n\r\n```\r\n$ pip install . --user -U\r\nProcessing /home/rgommers/Code/numpy\r\nInstalling collected packages: numpy\r\n  Running setup.py install for numpy ... done\r\nSuccessfully installed numpy-1.13.0\r\n```"}}
{"actor":{"display_login":"rgommers"}}