Author steve.dower
Recipients Arfrever, georg.brandl, gregory.p.smith, larry, paul.moore, steve.dower
Date 2014-02-14.17:12:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I found that using zipimporter('...whl').load_module(pip) directly works fine, so you may be able to use that as a workaround. (Forgot to mention it in my initial comment, but that's what prompted me to check against the ABC.)

I also backed out that change from the latest 3.3, built and tried again but got the same result. That said, I'm not 100% sure my build is reliable, since I don't regularly build CPython right now. Here are my results:

Python 3.3.4+ (3.3:4330b3cb7245+, Feb 14 2014, 09:03:52) [MSC v.1800 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path[:] = r"D:\...\pip-1.5.2-py2.py3-none-any.whl"
>>> import pip
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'pip'

I also tried using zipimporter directly, which got further but still failed (probably because of my build - _ssl was not built):

>>> from zipimport import zipimporter
>>> zipimporter(r"D:\...\pip-1.5.2-py2.py3-none-any.whl").load_module('pip')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\...\pip-1.5.2-py2.py3-none-any.whl\pip\", line 10, in <module>
  File "D:\...\pip-1.5.2-py2.py3-none-any.whl\pip\", line 18, in <module>
  File "D:\...\pip-1.5.2-py2.py3-none-any.whl\pip\_vendor\distlib\", line 14, in <module>
  File "D:\...\pip-1.5.2-py2.py3-none-any.whl\pip\_vendor\distlib\", line 66, in <module>
ImportError: cannot import name HTTPSHandler
Date User Action Args
2014-02-14 17:12:32steve.dowersetrecipients: + steve.dower, georg.brandl, gregory.p.smith, paul.moore, larry, Arfrever
2014-02-14 17:12:31steve.dowersetmessageid: <>
2014-02-14 17:12:31steve.dowerlinkissue20621 messages
2014-02-14 17:12:31steve.dowercreate