[pypy-issue] Issue #1959: Zipimport issue: unorderable types: str <= int (pypy/pypy)

Ionel Maries Cristian issues-reply at bitbucket.org
Sat Jan 10 17:45:22 CET 2015

New issue 1959: Zipimport issue: unorderable types: str <= int

Ionel Maries Cristian:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "pip/__init__.py", line 13, in <module>
    from pip.utils import get_installed_distributions, get_prog
  File "pip/utils/__init__.py", line 14, in <module>
    import zipfile
  File "/home/ionel/pypy3-2.4.0-linux64/lib-python/3/zipfile.py", line 60, in <module>
    sizeEndCentDir = struct.calcsize(structEndArchive)
  File "/home/ionel/pypy3-2.4.0-linux64/lib_pypy/_struct.py", line 294, in calcsize
    num,i = getNum(fmt,i)
  File "/home/ionel/pypy3-2.4.0-linux64/lib_pypy/_struct.py", line 276, in getNum
    while ('0'<= cur ) and ( cur <= '9'):
TypeError: unorderable types: str <= int
Could the zip be broken?! This is the zip: https://pypi.python.org/packages/py2.py3/p/pip/pip-6.0.6-py2.py3-none-any.whl

More information about the pypy-issue mailing list