[Ironpython-users] Error when installing package with pip

aqw 31 aqw31 at hotmail.com
Fri Jan 30 00:31:28 CET 2015


Hello,

I get an error when I try to install a package via pip.
I use ironpython 2.7.5
Tested on 3 PC (win XP 32 bits, win 7 64 bits and win 8.1 64 bits) with binaries and installer, i get the same error

ipy.exe -X:Frames -m pip install html5libsee

PIP.LOG
------------------------------------------------------------
C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\__main__.py run on 01/30/15 00:16:47
Downloading/unpacking html5lib
  Getting page https://pypi.python.org/simple/html5lib/
Cleaning up...
  Removing temporary dir c:\users\r1\appdata\local\temp\pip_build_R1...
Exception:
Traceback (most recent call last):
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\commands\install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\req.py", line 1183, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\index.py", line 194, in find_requirement
    page = self._get_page(main_index_url, req)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\index.py", line 566, in _get_page
    return HTMLPage.get_page(link, req,
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\index.py", line 670, in get_page
    resp = session.get(url, headers={"Accept": "text/html"})
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\sessions.py", line 468, in get
    return self.request('GET', url, **kwargs)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\download.py", line 237, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\sessions.py", line 456, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\sessions.py", line 559, in send
    r = adapter.send(request, **kwargs)
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\adapters.py", line 317, in send
    resp = conn.urlopen(
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 491, in urlopen
    httplib_response = self._make_request(conn, method, url,
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 291, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\Program Files (x86)\IronPython 2.7\Lib\httplib.py", line 955, in request
    self._send_request(method, url, body, headers)
  File "C:\Program Files (x86)\IronPython 2.7\Lib\httplib.py", line 989, in _send_request
    self.endheaders(body)
  File "C:\Program Files (x86)\IronPython 2.7\Lib\httplib.py", line 951, in endheaders
    self._send_output(message_body)
  File "C:\Program Files (x86)\IronPython 2.7\Lib\httplib.py", line 811, in _send_output
    self.send(msg)
  File "C:\Program Files (x86)\IronPython 2.7\Lib\httplib.py", line 773, in send
    self.connect()
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\packages\urllib3\connection.py", line 197, in connect
    match_hostname(self.sock.getpeercert(),
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\pip\_vendor\requests\packages\urllib3\packages\ssl_match_hostname\_implementation.py", line 88, in match_hostname
    for key, value in sub:
ValueError: too many values to unpack

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20150129/2403d1fa/attachment.html>


More information about the Ironpython-users mailing list