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 starting vagrant #253

Open jeneli opened 9 years ago

jeneli commented 9 years ago

Trying vagrant up and i am getting the following errors any ideas?

Thanx

Windows 8.1 Vagrant 1.7.1 VirtualBox 4.3.2

==> default: Error executing action run on resource 'execute[install-setuptools]' ==> default: ==> default: ================================================================================ ==> default: ==> default: Mixlib::ShellOut::ShellCommandFailed ==> default: ------------------------------------ ==> default: Expected process to exit with [0], but received '127' ==> default: ---- Begin output of /bin/python ez_setup.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: sh: 1: /bin/python: not found ==> default: ---- End output of /bin/python ez_setup.py ==> default: ---- ==> default: Ran /bin/python ez_setup.py ==> default: returned 127 ==> default: Resource Declaration: ==> default: --------------------- ==> default: # In /tmp/vagrant-chef/904bb0454e1ca6474760f58c5408f93a/cookbooks/python/recipes/pip.rb ==> default: ==> default: 48: execute "install-setuptools" do ==> default: 49: cwd Chef::Config[:file_cache_path] ==> default: 50: command <<-EOF ==> default: 51: #{node['python']['binary']} ez_setup.py ==> default: 52: EOF ==> default: 53: not_if "#{node['python']['binary']} -c 'import setuptools'" ==> default: 54: end ==> default: 55: ==> default: ==> default: Compiled Resource: ==> default: ------------------ ==> default: # Declared in /tmp/vagrant-chef/904bb0454e1ca6474760f58c5408f93a/cookbooks/python/recipes/pip.rb:48:in `fro m_file' ==> default: ==> default: execute("install-setuptools") do ==> default: action "run" ==> default: retries 0 ==> default: retry_delay 2 ==> default: default_guard_interpreter :execute ==> default: command " /bin/python ez_setup.py\n" ==> default: backup 5 ==> default: cwd "/var/chef/cache" ==> default: returns 0 ==> default: declared_type :execute ==> default: cookbook_name :python ==> default: recipe_name "pip" ==> default: not_if "/bin/python -c 'import setuptools'" ==> default: end ==> default: [2015-01-20T03:47:57+00:00] INFO: Running queued delayed notifications before re-raising exception ==> default: [2015-01-20T03:47:57+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - execute[ins tall-setuptools](python::pip line 48) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127' ==> default: ---- Begin output of /bin/python ez_setup.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: sh: 1: /bin/python: not found ==> default: ---- End output of /bin/python ez_setup.py ==> default: ---- ==> default: Ran /bin/python ez_setup.py

yaelkmiller commented 9 years ago

This is the problem that a lot of people are getting. See #243

jeneli commented 9 years ago

yes i needed to setup a link to python

thanx