Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99277
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: pip does not work anymore |
| Date | 2015-11-23 19:23 +0100 |
| Organization | Decebal Computing |
| Message-ID | <87mvu4r2v6.fsf@Equus.decebal.nl> (permalink) |
| References | <87vb8trw9l.fsf@Equus.decebal.nl> <56530fb4$0$1589$c3e8da3$5496439d@news.astraweb.com> |
On Monday 23 Nov 2015 14:08 CET, Steven D'Aprano wrote:
> On Mon, 23 Nov 2015 06:48 pm, Cecil Westerhof wrote:
>
>> When I try to install something with pip2 I get:
>> Traceback (most recent call last):
> [...]
>> from urllib2 import (Request, urlopen, URLError, HTTPError,
>> ImportError: cannot import name HTTPSHandler
>
> Before blaming SUSE for breaking this, please run this at the
> interactive interpreter:
>
> import urllib2
> print urllib2.__file__
>
>
> Have you perhaps accidentally shadowed the std lib module?
It worked without fail before the update, but you never know:
Python 2.7.9 (default, Dec 13 2014, 18:02:08) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> print urllib2.__file__
/usr/lib64/python2.7/urllib2.pyc
So I did not shadow I would think.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
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