Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Laura Creighton Newsgroups: comp.lang.python Subject: Re: pip does not work anymore Date: Mon, 23 Nov 2015 09:11:46 +0100 Lines: 58 Message-ID: References: <87vb8trw9l.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de rwtOiDhhedGU+jLER0piNg1D+1TSOwKRIVXvrScnt0zQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.05; 'skip:" 60': 0.05; 'urllib2': 0.07; 'cc:addr:python-list': 0.09; 'name)': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subversion,': 0.09; 'subject:not': 0.11; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'httperror,': 0.16; 'mercurial,': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'zipfile': 0.16; 'laura': 0.18; 'skip:g 40': 0.18; 'skip:l 30': 0.18; 'load': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'skip:" 40': 0.20; 'cc:2**1': 0.22; '31,': 0.22; 'disabled': 0.22; 'seems': 0.23; 'import': 0.24; '(most': 0.24; 'mon,': 0.24; 'module': 0.25; 'install': 0.25; 'skip:_ 20': 0.26; '14,': 0.27; "skip:' 10": 0.28; 'looks': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'url:mailman': 0.30; '15,': 0.30; 'supposed': 0.31; 'url:python': 0.33; 'traceback': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'done': 0.35; 'nov': 0.35; 'skip:" 50': 0.35; 'something': 0.35; 'problem.': 0.35; 'but': 0.36; 'url:org': 0.36; 'subject:work': 0.36; 'subject:: ': 0.37; 'one,': 0.37; 'charset :us-ascii': 0.37; 'skip:p 20': 0.38; 'url:in': 0.39; 'url:mail': 0.40; 'software': 0.40; 'header:Message-Id:1': 0.61; '30,': 0.63; '>how': 0.84; '>with': 0.84; 'again?': 0.84; 'cecil': 0.84; 'header:In-reply-to:1': 0.84; 'pip': 0.84; 'url:cecilwesterhof': 0.84; 'url:forums': 0.84; 'westerhof': 0.84; 'url:php': 0.86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1448266311; bh=ReULRRVT/Sb2spGnW47BppZrI7oz8RaeZcnCYMlERGA=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=LjEN3Qu9hwDJqTTZao7MRWGoibEQKQhGLKkRg/wxutwasJPz5CYQo3rnan4oo5VGK tHBOMWziG1V/gM9VfI+h+T2IO38wVOZeg2Oj6KatcHRQVAzx/GclEbTnN79PMumkS7 Ml61QB70vGYYnCzXD9iB7+C9hzlASOSbFCUjsl+g= In-reply-to: <87vb8trw9l.fsf@Equus.decebal.nl> Comments: In-reply-to Cecil Westerhof message dated "Mon, 23 Nov 2015 08:48:54 +0100." Content-ID: <9768.1448266306.1@fido> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Mon, 23 Nov 2015 09:11:51 +0100 (CET) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99257 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 > load_entry_point('pip=3D=3D7.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 =3D __import__(self.module_name, fromlist=3D['__name__'], = level=3D0) > File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 15, i= n > from pip.vcs import git, mercurial, subversion, bazaar # noqa > File "/usr/lib/python2.7/site-packages/pip/vcs/subversion.py", line= 9, in > 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 > from .compat import sysconfig, detect_encoding, ZipFile > File "/usr/lib/python2.7/site-packages/pip/_vendor/distlib/compat.p= y", line 31, in > 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