{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/1742","labels_url":"https://api.github.com/repos/pypa/pip/issues/1742/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/1742/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/1742/events","html_url":"https://github.com/pypa/pip/issues/1742","id":31937693,"number":1742,"title":"'Document' object has no attribute 'findall'","user":{"login":"thobryan","id":1568887,"avatar_url":"https://avatars.githubusercontent.com/u/1568887?v=3","gravatar_id":"","url":"https://api.github.com/users/thobryan","html_url":"https://github.com/thobryan","followers_url":"https://api.github.com/users/thobryan/followers","following_url":"https://api.github.com/users/thobryan/following{/other_user}","gists_url":"https://api.github.com/users/thobryan/gists{/gist_id}","starred_url":"https://api.github.com/users/thobryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thobryan/subscriptions","organizations_url":"https://api.github.com/users/thobryan/orgs","repos_url":"https://api.github.com/users/thobryan/repos","events_url":"https://api.github.com/users/thobryan/events{/privacy}","received_events_url":"https://api.github.com/users/thobryan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2014-04-22T01:02:28Z","updated_at":"2015-08-12T20:42:35Z","closed_at":"2014-06-03T21:41:36Z","body":"After upgrading ubuntu 13.10 to 14.04. All packages that I am trying to install is getting the following error:\r\n```\r\nException: Traceback (most recent call last):\r\nFile \"/usr/lib/python2.7/dist-packages/pip/basecommand.py\", line 122, in main\r\n  status = self.run(options, args)\r\nFile \"/usr/lib/python2.7/dist-packages/pip/commands/install.py\", line 278, in run\r\n  requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) \r\nFile \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 1177, in prepare_files \r\n  url = finder.find_requirement(req_to_install, upgrade=self.upgrade) \r\nFile \"/usr/lib/python2.7/dist-packages/pip/index.py\", line 256, in find_requirement\r\n  page_versions.extend(self._package_versions(page.links, req.name.lower())) \r\nFile \"/usr/lib/python2.7/dist-packages/pip/index.py\", line 432, in _package_versions \r\n  for link in self._sort_links(links): \r\nFile \"/usr/lib/python2.7/dist-packages/pip/index.py\", line 422, in _sort_links \r\n  for link in links: \r\nFile \"/usr/lib/python2.7/dist-packages/pip/index.py\", line 769, in links \r\n  for anchor in self.parsed.findall(\".//a\"):\r\nAttributeError: 'Document' object has no attribute 'findall'\r\n\r\nStoring debug log for failure in /root/.pip/pip.log\r\n```"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/130441722","html_url":"https://github.com/pypa/pip/issues/1742#issuecomment-130441722","issue_url":"https://api.github.com/repos/pypa/pip/issues/1742","id":130441722,"user":{"login":"yonas","id":110130,"avatar_url":"https://avatars.githubusercontent.com/u/110130?v=3","gravatar_id":"","url":"https://api.github.com/users/yonas","html_url":"https://github.com/yonas","followers_url":"https://api.github.com/users/yonas/followers","following_url":"https://api.github.com/users/yonas/following{/other_user}","gists_url":"https://api.github.com/users/yonas/gists{/gist_id}","starred_url":"https://api.github.com/users/yonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonas/subscriptions","organizations_url":"https://api.github.com/users/yonas/orgs","repos_url":"https://api.github.com/users/yonas/repos","events_url":"https://api.github.com/users/yonas/events{/privacy}","received_events_url":"https://api.github.com/users/yonas/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T20:42:35Z","updated_at":"2015-08-12T20:42:35Z","body":"\"sudo pip uninstall html5lib\" worked for me too."}}