{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/3058","labels_url":"https://api.github.com/repos/pypa/pip/issues/3058/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/3058/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/3058/events","html_url":"https://github.com/pypa/pip/issues/3058","id":103242397,"number":3058,"title":"pip installation error!!!!","user":{"login":"anweshknayak","id":8139783,"avatar_url":"https://avatars.githubusercontent.com/u/8139783?v=3","gravatar_id":"","url":"https://api.github.com/users/anweshknayak","html_url":"https://github.com/anweshknayak","followers_url":"https://api.github.com/users/anweshknayak/followers","following_url":"https://api.github.com/users/anweshknayak/following{/other_user}","gists_url":"https://api.github.com/users/anweshknayak/gists{/gist_id}","starred_url":"https://api.github.com/users/anweshknayak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anweshknayak/subscriptions","organizations_url":"https://api.github.com/users/anweshknayak/orgs","repos_url":"https://api.github.com/users/anweshknayak/repos","events_url":"https://api.github.com/users/anweshknayak/events{/privacy}","received_events_url":"https://api.github.com/users/anweshknayak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-26T11:26:13Z","updated_at":"2015-09-04T11:32:23Z","closed_at":null,"body":"$ python get-pip.py\r\n\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/basecommand.py\", line 211, in main\r\n    status = self.run(options, args)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/commands/install.py\", line 294, in run\r\n    requirement_set.prepare_files(finder)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/req/req_set.py\", line 334, in prepare_files\r\n    functools.partial(self._prepare_file, finder))\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/req/req_set.py\", line 321, in _walk_req_to_install\r\n    more_reqs = handler(req_to_install)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/req/req_set.py\", line 409, in _prepare_file\r\n    req_to_install, finder)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/req/req_set.py\", line 365, in _check_skip_installed\r\n    finder.find_requirement(req_to_install, self.upgrade)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/index.py\", line 486, in find_requirement\r\n    all_versions = self._find_all_versions(req.name)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/index.py\", line 404, in _find_all_versions\r\n    index_locations = self._get_index_urls_locations(project_name)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/index.py\", line 378, in _get_index_urls_locations\r\n    page = self._get_page(main_index_url)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/index.py\", line 818, in _get_page\r\n    return HTMLPage.get_page(link, session=self.session)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/index.py\", line 928, in get_page\r\n    \"Cache-Control\": \"max-age=600\",\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/sessions.py\", line 477, in get\r\n    return self.request('GET', url, **kwargs)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/download.py\", line 373, in request\r\n    return super(PipSession, self).request(method, url, *args, **kwargs)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/sessions.py\", line 465, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/sessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/cachecontrol/adapter.py\", line 46, in send\r\n    resp = super(CacheControlAdapter, self).send(request, **kw)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/adapters.py\", line 370, in send\r\n    timeout=timeout\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/packages/urllib3/connectionpool.py\", line 539, in urlopen\r\n    self._prepare_proxy(conn)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/packages/urllib3/connectionpool.py\", line 727, in _prepare_proxy\r\n    conn.connect()\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/packages/urllib3/connection.py\", line 238, in connect\r\n    ssl_version=resolved_ssl_version)\r\n  File \"/tmp/tmpHszpGO/pip.zip/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py\", line 279, in ssl_wrap_socket\r\n    cnx.set_tlsext_host_name(server_hostname)\r\nAttributeError: '_socketobject' object has no attribute 'set_tlsext_host_name'\r\n"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/137713094","html_url":"https://github.com/pypa/pip/issues/3058#issuecomment-137713094","issue_url":"https://api.github.com/repos/pypa/pip/issues/3058","id":137713094,"user":{"login":"xavfernandez","id":1089744,"avatar_url":"https://avatars.githubusercontent.com/u/1089744?v=3","gravatar_id":"","url":"https://api.github.com/users/xavfernandez","html_url":"https://github.com/xavfernandez","followers_url":"https://api.github.com/users/xavfernandez/followers","following_url":"https://api.github.com/users/xavfernandez/following{/other_user}","gists_url":"https://api.github.com/users/xavfernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/xavfernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavfernandez/subscriptions","organizations_url":"https://api.github.com/users/xavfernandez/orgs","repos_url":"https://api.github.com/users/xavfernandez/repos","events_url":"https://api.github.com/users/xavfernandez/events{/privacy}","received_events_url":"https://api.github.com/users/xavfernandez/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T11:32:23Z","updated_at":"2015-09-04T11:32:23Z","body":"And duplicate of #2696 "}}