Hi there,

I just updated to the latest openssl Fink package. Afterwards, pip was broken:

$ pip-py2.7 --version
Traceback (most recent call last):
  File "/sw/bin/pip-py2.7", line 9, in <module>
    load_entry_point('pip==8.0.2', 'console_scripts', 'pip')()
  File 
"/Users/mhorn/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 547, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File 
"/Users/mhorn/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 2720, in load_entry_point
    return ep.load()
  File 
"/Users/mhorn/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 2380, in load
    return self.resolve()
  File 
"/Users/mhorn/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 2386, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/sw/lib/python2.7/site-packages/pip/__init__.py", line 15, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/sw/lib/python2.7/site-packages/pip/vcs/subversion.py", line 9, in 
<module>
    from pip.index import Link
  File "/sw/lib/python2.7/site-packages/pip/index.py", line 29, in <module>
    from pip.wheel import Wheel, wheel_ext
  File "/sw/lib/python2.7/site-packages/pip/wheel.py", line 39, in <module>
    from pip._vendor.distlib.scripts import ScriptMaker
  File "/sw/lib/python2.7/site-packages/pip/_vendor/distlib/scripts.py", line 
14, in <module>
    from .compat import sysconfig, detect_encoding, ZipFile
  File "/sw/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


This was with python2.7 (and also python3.5) from the bindist. I just fixed 
this for Python 3.5 by rebuilding it (i.e. "fink rebuild python35").

So it seems to me that there is a hidden binary incompatibility here? Or 
perhaps something else -- I might even wrong for blaming OpenSSL, but I do know 
that I upgraded it just briefly before, and I am pretty sure pip worked a few 
days ago. And rebuilding python fixed it...



Cheers,
Max
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to