I'm trying to run Ipython notebook through Vagrant. Followed the instructions provided from the book "Mining the social web."
Please guide me how to fix this error.
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install.py to install.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/setopt.py to setopt.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py to egg_info.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/upload_docs.py to upload_docs.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/alias.py to alias.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install_scripts.py to install_scripts.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/sandbox.py to sandbox.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/package_index.py to package_index.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/dist.py to dist.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/extension.py to extension.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/compat.py to compat.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/setuptools/ssl_support.py to ssl_support.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/_markerlib/markers.py to markers.pyc
==> default:
==> default: byte-compiling build/bdist.linux-x86_64/egg/_markerlib/__init__.py to __init__.pyc
==> default:
==> default: creating build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/entry_points.txt.orig -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/requires.txt.orig -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
==> default:
==> default: copying setuptools.egg-info/EGG-INFO/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO/EGG-INFO
==> default:
==> default: creating dist
==> default:
==> default: creating 'dist/setuptools-0.8-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
==> default:
==> default: removing 'build/bdist.linux-x86_64/egg' (and everything under it)
==> default: Processing setuptools-0.8-py2.7.egg
==> default: Copying setuptools-0.8-py2.7.egg to /usr/local/lib/python2.7/dist-packages
==> default: Adding setuptools 0.8 to easy-install.pth file
==> default: Installing easy_install script to /usr/local/bin
==> default: Installing easy_install-2.7 script to /usr/local/bin
==> default:
==> default: Installed /usr/local/lib/python2.7/dist-packages/setuptools-0.8-py2.7.egg
==> default: Processing dependencies for setuptools==0.8
==> default: Finished processing dependencies for setuptools==0.8
==> default: [2016-02-02T22:08:27+00:00] INFO: execute[install-setuptools] ran successfully
==> default: - execute /usr/bin/python ez_setup.py
==> default:
==> default: * execute[install-pip] action run
==> default: [2016-02-02T22:08:27+00:00] INFO: Processing execute[install-pip] action run (python::pip line 56)
==> default: [2016-02-02T22:08:27+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute]
==> default: [2016-02-02T22:08:27+00:00] DEBUG: Provider for action run on resource execute[install-pip] is Chef::Provider::Execute
==> default: [execute]
==> default:
==> default: ================================================================================
==> default: Error executing action `run` on resource 'execute[install-pip]'
==> default: ================================================================================
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of /usr/bin/python get-pip.py
==> default: ----
==> default: STDOUT:
==> default: ---- End output of /usr/bin/python get-pip.py
==> default: ----
==> default: Ran /usr/bin/python get-pip.py
==> default: returned 1
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef/11d8a07418ebf1aa7535288d858e1f54/cookbooks/python/recipes/pip.rb
==> default:
==> default: 56: execute "install-pip" do
==> default: 57: cwd Chef::Config[:file_cache_path]
==> default: 58: command <<-EOF
==> default: 59: #{node['python']['binary']} get-pip.py
==> default: 60: EOF
==> default: 61: not_if { ::File.exists?(pip_binary) }
==> default: 62: end
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef/11d8a07418ebf1aa7535288d858e1f54/cookbooks/python/recipes/pip.rb:56:in `from_file'
==> default:
==> default: execute("install-pip") do
==> default: action [:run]
==> default: retries 0
==> default: retry_delay 2
==> default: default_guard_interpreter :execute
==> default: command " /usr/bin/python get-pip.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 { #code block }
==> default: end
==> default:
==> default: [2016-02-02T22:08:27+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2016-02-02T22:08:27+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of /usr/bin/python get-pip.py
==> default: ----
==> default: STDOUT:
==> default: ---- End output of /usr/bin/python get-pip.py
==> default: ----
==> default: Ran /usr/bin/python get-pip.py
==> default: returned 1
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:289:in `invalid!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:276:in `error!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/mixin/shell_out.rb:56:in `shell_out!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider/execute.rb:62:in `block in action_run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/mixin/why_run.rb:52:in `call'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/mixin/why_run.rb:52:in `add_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider.rb:175:in `converge_by'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider/execute.rb:60:in `action_run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider.rb:144:in `run_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource.rb:596:in `run_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:74:in `run_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:106:in `block (2 levels) in converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:106:in `each'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:106:in `block in converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:105:in `converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:667:in `block in converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:662:in `catch'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:662:in `converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:701:in `converge_and_save'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:279:in `run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:269:in `block in fork_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:257:in `fork'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:257:in `fork_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:223:in `block in run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:211:in `run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:286:in `block in interval_run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:275:in `loop'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:275:in `interval_run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:253:in `run_application'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:58:in `run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/bin/chef-solo:25:in `<top (required)>'
==> default: /usr/bin/chef-solo:54:in `load'
==> default: /usr/bin/chef-solo:54:in `<main>'
==> default: Running handlers:
==> default: [2016-02-02T22:08:27+00:00] ERROR: Running exception handlers
==> default: Running handlers complete
==> default: [2016-02-02T22:08:27+00:00] ERROR: Exception handlers complete
==> default: Chef Client failed. 11 resources updated in 02 minutes 23 seconds
==> default: [2016-02-02T22:08:27+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2016-02-02T22:08:27+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
==> default: [2016-02-02T22:08:27+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of /usr/bin/python get-pip.py
==> default: ----
==> default: STDOUT:
==> default: ---- End output of /usr/bin/python get-pip.py
==> default: ----
==> default: Ran /usr/bin/python get-pip.py
==> default: returned 1
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:289:in `invalid!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.5/lib/mixlib/shellout.rb:276:in `error!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/mixin/shell_out.rb:56:in `shell_out!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider/execute.rb:62:in `block in action_run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/mixin/why_run.rb:52:in `call'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/mixin/why_run.rb:52:in `add_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider.rb:175:in `converge_by'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider/execute.rb:60:in `action_run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/provider.rb:144:in `run_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource.rb:596:in `run_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:74:in `run_action'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:106:in `block (2 levels) in converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:106:in `each'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:106:in `block in converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/runner.rb:105:in `converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:667:in `block in converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:662:in `catch'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:662:in `converge'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:701:in `converge_and_save'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/client.rb:279:in `run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:269:in `block in fork_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:257:in `fork'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:257:in `fork_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:223:in `block in run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:211:in `run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:286:in `block in interval_run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:275:in `loop'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:275:in `interval_run_chef_client'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application/solo.rb:253:in `run_application'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/lib/chef/application.rb:58:in `run'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.0/bin/chef-solo:25:in `<top (required)>'
==> default: /usr/bin/chef-solo:54:in `load'
==> default: /usr/bin/chef-solo:54:in `<main>'
==> default: [2016-02-02T22:08:27+00:00] ERROR: execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of /usr/bin/python get-pip.py
==> default: ----
==> default: STDOUT:
==> default: ---- End output of /usr/bin/python get-pip.py
==> default: ----
==> default: Ran /usr/bin/python get-pip.py
==> default: returned 1
==> default: [2016-02-02T22:08:28+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.