Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99291
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-11-23 16:47 -0800 |
| References | <87vb8trw9l.fsf@Equus.decebal.nl> |
| Message-ID | <44438522-c78e-423c-b809-00e0145f8890@googlegroups.com> (permalink) |
| Subject | Re: pip does not work anymore |
| From | sohcahtoa82@gmail.com |
On Sunday, November 22, 2015 at 11:59:13 PM UTC-8, Cecil Westerhof wrote:
> When I try to install something with pip2 I get:
> Traceback (most recent call last):
> File "/usr/bin/pip2", line 9, in <module>
> load_entry_point('pip==7.1.2', 'console_scripts', 'pip2')()
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
> return ep.load()
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2355, in load
> return self.resolve()
> File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2361, in resolve
> module = __import__(self.module_name, fromlist=['__name__'], level=0)
> File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 15, in <module>
> from pip.vcs import git, mercurial, subversion, bazaar # noqa
> File "/usr/lib/python2.7/site-packages/pip/vcs/subversion.py", line 9, in <module>
> from pip.index import Link
> File "/usr/lib/python2.7/site-packages/pip/index.py", line 30, in <module>
> from pip.wheel import Wheel, wheel_ext
> File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 35, in <module>
> from pip._vendor.distlib.scripts import ScriptMaker
> File "/usr/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.py", line 14, in <module>
> from .compat import sysconfig, detect_encoding, ZipFile
> File "/usr/lib/python2.7/site-packages/pip/_vendor/distlib/compat.py", line 31, in <module>
> from urllib2 import (Request, urlopen, URLError, HTTPError,
> ImportError: cannot import name HTTPSHandler
>
> With pip3 I get the same problem.
>
> It looks like openSUSE has done an upgrade in which it disabled ssl2.
> How can I get pip2/3 working again?
>
> --
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
SSL2 *should* be disabled. It was deprecated nearly 20 years ago, replaced by SSL3, and even THAT has been deprecated. SSL2 is incredibly insecure.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
pip does not work anymore Cecil Westerhof <Cecil@decebal.nl> - 2015-11-23 08:48 +0100
Re: pip does not work anymore Laura Creighton <lac@openend.se> - 2015-11-23 09:11 +0100
Re: pip does not work anymore Cecil Westerhof <Cecil@decebal.nl> - 2015-11-23 10:33 +0100
Re: pip does not work anymore Cecil Westerhof <Cecil@decebal.nl> - 2015-11-23 12:14 +0100
Re: pip does not work anymore Steven D'Aprano <steve@pearwood.info> - 2015-11-24 00:08 +1100
Re: pip does not work anymore Cecil Westerhof <Cecil@decebal.nl> - 2015-11-23 19:23 +0100
Re: pip does not work anymore sohcahtoa82@gmail.com - 2015-11-23 16:47 -0800
csiph-web