After 12.02->14.04 upgrade, any pip upgrade with "wheel" files fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Virtualenv |
Invalid
|
Undecided
|
Unassigned | ||
python-pip (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Pip has given headaches since my 12.02->14.04 upgrade. There are a number of other reports about pip / virtualenv problems, but this one narrows it down a bit. The core error is "list index out of range":
# sudo pip install --upgrade distribute
Downloading/
Downloading distribute-
Downloading/
Exception:
Traceback (most recent call last):
File "/usr/lib/
line 1259, in prepare_files
)[0]
IndexError: list index out of range
That line of code invokes pre-compiled python installs. Thus you can bypass it with:
# sudo pip install --no-use-wheel --upgrade distribute
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-pip 1.5.4-1
ProcVersionSign
Uname: Linux 3.13.0-36-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 29 09:09:07 2014
PackageArchitec
SourcePackage: python-pip
UpgradeStatus: Upgraded to trusty on 2014-09-18 (11 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.