ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

ERROR: execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' #290

Open hanyhome opened 8 years ago

hanyhome commented 8 years ago

ERROR: execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'

How to solve this problem? My operating system is Windows 7 64bit.

hanyhome commented 8 years ago

Editing the file:

Mining-the-Social-Web-2nd-Edition/deploy/cookbooks/python/attributes/default.rb

on your machine and changing the line:

default['python']['pip_script_url'] = 'https://raw.github.com/pypa/pip/master/contrib/get-pip.py'

to:

default['python']['pip_script_url'] = 'https://bootstrap.pypa.io/get-pip.py'

should fix the problem.

zarak commented 8 years ago

This solved the problem for me. Thanks!