Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99256
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Cecil Westerhof <Cecil@decebal.nl> |
| Newsgroups | comp.lang.python |
| Subject | pip does not work anymore |
| Date | Mon, 23 Nov 2015 08:48:54 +0100 |
| Organization | Decebal Computing |
| Lines | 35 |
| Message-ID | <87vb8trw9l.fsf@Equus.decebal.nl> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="20854"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Yl5jFC37vzp96yWT/y1n4JIfXtGxG2vI=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| X-Homepage | http://www.decebal.nl/ |
| Cancel-Lock | sha1:fTCnZ7A/SxqKc/sZ3Q8kOAVr6As= sha1:cGx0R8tVVXbgiVh5VTCE8P7r2SE= |
| Xref | csiph.com comp.lang.python:99256 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next — 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