Public bug reported:
# pip install --upgrade six
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in
run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle,
bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1096, in
prepare_files
req_to_install, self.upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 256, in
find_requirement
page_versions.extend(self._package_versions(page.links, req.name.lower()))
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 432, in
_package_versions
for link in self._sort_links(links):
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 422, in _sort_links
for link in links:
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 769, in links
for anchor in self.parsed.findall(".//a"):
AttributeError: 'Document' object has no attribute 'findall'
Storing debug log for failure in /root/.pip/pip.log
------------------------
See
https://github.com/pypa/pip/issues/1742
for the upstream, which blames the distro
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-pip 1.5.4-1
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
Date: Tue Sep 23 23:46:17 2014
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-pip
UpgradeStatus: Upgraded to trusty on 2014-09-18 (6 days ago)
** Affects: python-pip (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1373254
Title:
14.04LTS upgrades to pip cause object has no attribute 'findall'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1373254/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs