Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99257
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: pip does not work anymore |
| Date | 2015-11-23 09:11 +0100 |
| Message-ID | <mailman.60.1448266316.2291.python-list@python.org> (permalink) |
| References | <87vb8trw9l.fsf@Equus.decebal.nl> |
In a message of Mon, 23 Nov 2015 08:48:54 +0100, Cecil Westerhof writes:
>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
>--
>https://mail.python.org/mailman/listinfo/python-list
Reading https://forums.opensuse.org/showthread.php/488962-OpenSuse-python-amp-openssl
seems to indicatew that you are supposed to use python-pip and not pip
for OpenSuse, but I don't have one, so that is just my interpretation.
Laura
Back to comp.lang.python | Previous | Next — Previous in thread | Next 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