Issue 26170: pip Crash on Unpacking in get_platform() line 119 (original) (raw)

Since upgrading to pip 8.0, I get a crash whenever I try to run it. It fails to unpack to major, minor, and micro for the release, saying there's only two values.

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pip", line 7, in from pip import main File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/init.py", line 15, in from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/vcs/subversion.py", line 9, in from pip.index import Link File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/index.py", line 29, in from pip.wheel import Wheel, wheel_ext File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/wheel.py", line 32, in from pip import pep425tags File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/pep425tags.py", line 214, in supported_tags = get_supported() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/pep425tags.py", line 162, in get_supported arch = get_platform() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/pep425tags.py", line 119, in get_platform major, minor, micro = release.split('.') ValueError: need more than 2 values to unpack