poise / python

THIS COOKBOOK IS DEPRECATED – Chef cookbook to install Python and related tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pip fails to install

mal opened this issue · comments

Just tried to run this on a clean 12.04 vm, and traced the error back to the behavior reported in #77, however in this case the error that's obscured appears different.

$ sudo python /srv/chef/file_store/cookbooks/python/files/default/get-pip.py
Downloading/unpacking pip
  Downloading pip-1.5.2-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Downloading/unpacking setuptools
  Downloading setuptools-2.1.2.tar.gz (785kB): 785kB downloaded
Cleaning up...
setuptools must be installed to install from a source distribution
Storing debug log for failure in /home/vagrant/.pip/pip.log
$ echo $?
0

Seems this is a pip issue; filed here pypa/pip#1533. I've also added a workaround there, maybe it can be worked into the cookbook?

Fixed upstream; confirmed locally. Closing.