-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vagrant provision step failed #6
Comments
Which version of vagrant are you using? |
use |
Hmm, I tried to reproduce your problem. But everything is working fine on my Mac macOS 10.13.4, vagrant 2.0.4 and virtutal box 5.2.10. So I guess same evironment as yours. Please do as follows: go to your basket4py folder in your shell (the folder that contains the once this is done open http://192.168.33.12:8888 in your web browser. You should now see the default notebook of basket4py. Try these out. Only if this has been successful go to the next steps and install twitter lib and copy the social web 2 e notebooks. Please post any problems / steps to this issue log. |
I am also getting this error... Ansible failed to complete successfully. default: Installing Ansible... Alternatively, the compatibility mode can be specified in your Vagrantfile:
cd /vagrant && ansible-galaxy install --role-file='/vagrant/provision/requirements.yml' --roles-path='/vagrant/provision/roles' --force
|
Hi
I have been trying to set up the environment to try the examples in the Mining the Social Web 2E book. In my original install, I cam across errors in the chef install of the python environment. In looking for solutions in the forum, I came across the basket4py solution you put together and following that, I came to step with running vagrant provision. I have now errors in that step. extract of output shown below. Can you please help me!!
My environment:
macOS sierra 10.12.16
virtualbox version : 5.2.10r122088
I cloned the git repository https://github.com/rreben/basket4py
ased on your discussion, the procedure I did as following.
Go to https://github.com/rreben/basket4py
Download this repo
do a vagrant up
vagrant provision get the python stack installed.
", "", "The following NEW packages will be INSTALLED:", "", " mkl_fft: 1.0.1-py36h3010b51_0 ", " mkl_random: 1.0.1-py36h629b387_0 ", "", "The following packages will be UPDATED:", "", " intel-openmp: 2018.0.0-hc7b2577_8 --> 2018.0.0-8 ", " libgcc-ng: 7.2.0-h7cc24e2_2 --> 7.2.0-hdf63c60_3 ", " libgfortran-ng: 7.2.0-h9f7466a_2 --> 7.2.0-hdf63c60_3 ", " libstdcxx-ng: 7.2.0-h7a57d05_2 --> 7.2.0-hdf63c60_3 ", " mkl: 2018.0.1-h19d6760_4 --> 2018.0.2-1 ", " numpy: 1.14.0-py36h3dfced4_1 --> 1.14.2-py36hdbf6ddf_1", " pip: 9.0.1-py36h6c6f9ce_4 --> 9.0.3-py36_0 ", " python: 3.6.4-hc3d631a_1 --> 3.6.5-hc3d631a_0 ", " scipy: 1.0.0-py36hbf646e7_0 --> 1.0.1-py36hfc37229_0 ", " setuptools: 38.4.0-py36_0 --> 39.0.1-py36_0 ", " sqlite: 3.22.0-h1bed415_0 --> 3.23.1-he433501_0 ", " wheel: 0.30.0-py36hfd4bba0_1 --> 0.31.0-py36_0 ", " xz: 5.2.3-h55aa19d_2 --> 5.2.3-h5e939de_4 ", "", "", "Downloading and Extracting Packages", "Preparing transaction: ...working... done", "Verifying transaction: ...working... done", "Executing transaction: ...working... done"]}
TASK [andrewrothstein.anaconda : remove conda-curl since it conflicts with the system curl] ***
fatal: [default]: FAILED! => {"changed": true, "cmd": ["/usr/local/anaconda/bin/conda", "remove", "-y", "curl"], "delta": "0:00:19.022614", "end": "2018-04-24 21:13:07.160621", "msg": "non-zero return code", "rc": 1, "start": "2018-04-24 21:12:48.138007", "stderr": "\nPackagesNotFoundError: The following packages are missing from the target environment:\n - curl", "stderr_lines": ["", "PackagesNotFoundError: The following packages are missing from the target environment:", " - curl"], "stdout": "Solving environment: ...working... failed", "stdout_lines": ["Solving environment: ...working... failed"]}
to retry, use: --limit @/vagrant/provision/playbook.retry
PLAY RECAP *********************************************************************
default : ok=9 changed=1 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
The text was updated successfully, but these errors were encountered: