{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2353","labels_url":"https://api.github.com/repos/pypa/pip/issues/2353/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2353/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2353/events","html_url":"https://github.com/pypa/pip/issues/2353","id":54337919,"number":2353,"title":" pip 6.0.6- pip install command is broken","user":{"login":"gabx","id":4582136,"avatar_url":"https://avatars.githubusercontent.com/u/4582136?v=3","gravatar_id":"","url":"https://api.github.com/users/gabx","html_url":"https://github.com/gabx","followers_url":"https://api.github.com/users/gabx/followers","following_url":"https://api.github.com/users/gabx/following{/other_user}","gists_url":"https://api.github.com/users/gabx/gists{/gist_id}","starred_url":"https://api.github.com/users/gabx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabx/subscriptions","organizations_url":"https://api.github.com/users/gabx/orgs","repos_url":"https://api.github.com/users/gabx/repos","events_url":"https://api.github.com/users/gabx/events{/privacy}","received_events_url":"https://api.github.com/users/gabx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-14T15:53:00Z","updated_at":"2015-02-10T15:44:04Z","closed_at":null,"body":"    gabx@hortensia ➤➤ ~ % pip3.4 install websocket-client\r\n    Exception:\r\n    Traceback (most recent call last):\r\n     File \"/usr/lib/python3.4/site-packages/pip/basecommand.py\", line 232, in main\r\n    status = self.run(options, args)\r\n    File \"/usr/lib/python3.4/site-packages/pip/commands/install.py\", line 339, in run\r\n    requirement_set.prepare_files(finder)\r\n    File \"/usr/lib/python3.4/site-packages/pip/req/req_set.py\", line 229, in prepare_files\r\n    req_to_install.check_if_exists()\r\n    File \"/usr/lib/python3.4/site-packages/pip/req/req_install.py\", line 928, in check_if_exists\r\n    self.satisfied_by = pkg_resources.get_distribution(self.req)\r\n    File \"/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py\", line 461, in    get_distribution\r\n    dist = get_provider(dist)\r\n    File \"/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py\", line 341, in  get_provider\r\n    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]\r\n     File \"/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py\", line 870, in require\r\n    needed = self.resolve(parse_requirements(requirements))\r\n    File \"/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py\", line 740, in resolve\r\n    env = Environment(self.entries)\r\n    File \"/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py\", line 927, in __init__\r\n    self.scan(search_path)\r\n    File \"/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py\", line 957, in scan\r\n    self.add(dist)\r\n    File \"/usr/lib/python3.4/site-packages/pip/_vendor/pkg_resources/__init__.py\", line 977, in add\r\n    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)\r\n    TypeError: unorderable types: NoneType() < str()\r\n\r\n    gabx@hortensia ➤➤ ~ % pip list\r\n    aiohttp (0.9.1)\r\n    apparmor (2.9.1)\r\n     appdirs (1.3.0)`\r\n\r\n\r\n     gabx@hortensia ➤➤ ~ % pip show six\r\n     ---\r\n     Name: six\r\n    Version: 1.9.0\r\n    Location: /usr/lib/python3.4/site-packages\r\n    Requires:\r\n\r\n    gabx@hortensia ➤➤ ~ % pip install ranger\r\n    Requirement already satisfied (use --upgrade to upgrade): ranger in /usr/lib/python3.4/site-  packages\r\n\r\n\r\n**pip install seems broken when installing a new package.**"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/73721736","html_url":"https://github.com/pypa/pip/issues/2353#issuecomment-73721736","issue_url":"https://api.github.com/repos/pypa/pip/issues/2353","id":73721736,"user":{"login":"mangecoeur","id":743508,"avatar_url":"https://avatars.githubusercontent.com/u/743508?v=3","gravatar_id":"","url":"https://api.github.com/users/mangecoeur","html_url":"https://github.com/mangecoeur","followers_url":"https://api.github.com/users/mangecoeur/followers","following_url":"https://api.github.com/users/mangecoeur/following{/other_user}","gists_url":"https://api.github.com/users/mangecoeur/gists{/gist_id}","starred_url":"https://api.github.com/users/mangecoeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangecoeur/subscriptions","organizations_url":"https://api.github.com/users/mangecoeur/orgs","repos_url":"https://api.github.com/users/mangecoeur/repos","events_url":"https://api.github.com/users/mangecoeur/events{/privacy}","received_events_url":"https://api.github.com/users/mangecoeur/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T15:44:04Z","updated_at":"2015-02-10T15:44:04Z","body":"Just run into this same problem on OSX. Anyone know how to fix this? Seems to have stopped working shortly after I upgraded to 6.0.8..."}}