{"action":"opened","issue":{"url":"https://api.github.com/repos/pyenv/pyenv/issues/1098","repository_url":"https://api.github.com/repos/pyenv/pyenv","labels_url":"https://api.github.com/repos/pyenv/pyenv/issues/1098/labels{/name}","comments_url":"https://api.github.com/repos/pyenv/pyenv/issues/1098/comments","events_url":"https://api.github.com/repos/pyenv/pyenv/issues/1098/events","html_url":"https://github.com/pyenv/pyenv/issues/1098","id":297322932,"number":1098,"title":"pyenv shell 2.5.6 and when use pip, got `'module' object has no attribute 'HTTPSHandler'`","user":{"login":"NoraGithub","id":7700016,"avatar_url":"https://avatars0.githubusercontent.com/u/7700016?v=4","gravatar_id":"","url":"https://api.github.com/users/NoraGithub","html_url":"https://github.com/NoraGithub","followers_url":"https://api.github.com/users/NoraGithub/followers","following_url":"https://api.github.com/users/NoraGithub/following{/other_user}","gists_url":"https://api.github.com/users/NoraGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/NoraGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoraGithub/subscriptions","organizations_url":"https://api.github.com/users/NoraGithub/orgs","repos_url":"https://api.github.com/users/NoraGithub/repos","events_url":"https://api.github.com/users/NoraGithub/events{/privacy}","received_events_url":"https://api.github.com/users/NoraGithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T04:00:57Z","updated_at":"2018-02-15T04:00:57Z","closed_at":null,"author_association":"NONE","body":"I am using python 2.5.6 to run some best practise.\r\nAnd when I \r\n```\r\npyenv shell 2.5.6\r\npip install virtualenv\r\n```\r\nI got \r\n```\r\nraceback (most recent call last):\r\n  File \"/Users/NoraChan/.pyenv/versions/2.5.6/bin/pip\", line 9, in <module>\r\n    load_entry_point('pip==1.3.1', 'console_scripts', 'pip')()\r\n  File \"build/bdist.macosx-10.11-x86_64/egg/pkg_resources.py\", line 357, in load_entry_point\r\n  File \"build/bdist.macosx-10.11-x86_64/egg/pkg_resources.py\", line 2394, in load_entry_point\r\n  File \"build/bdist.macosx-10.11-x86_64/egg/pkg_resources.py\", line 2108, in load\r\n  File \"/Users/NoraChan/.pyenv/versions/2.5.6/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/__init__.py\", line 11, in <module>\r\n    from pip.vcs import git, mercurial, subversion, bazaar  # noqa\r\n  File \"/Users/NoraChan/.pyenv/versions/2.5.6/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/vcs/mercurial.py\", line 9, in <module>\r\n    from pip.download import path_to_url2\r\n  File \"/Users/NoraChan/.pyenv/versions/2.5.6/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/download.py\", line 115, in <module>\r\n    class VerifiedHTTPSHandler(urllib2.HTTPSHandler):\r\nAttributeError: 'module' object has no attribute 'HTTPSHandler'\r\n```\r\nThe answer on GOOGLE told me to rebuild it by some downloaded package, however, it's built by pyenv. \r\n\r\nHow should I fix it? "}}
{"actor":{"display_login":"NoraGithub"}}