-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unable to pip install caravel #3
Comments
@dhafley Jumping in to see what's going on, I didn't have issues with this step last week and now I'm getting this same error, but it happens when trying to install Ansible dependencies (so very early in the build). StackOverflow is suggesting there might be another package needed, so I'm going to try this and report on what happens. |
@dhafley UPDATE: I misread the issue for the the plugin originally. It's part of the issue since it hasn't updated in over a year. The suggested change is needed to work with Ansible now since something changed recently within Ansible. That change was not committed to the main project, so a local version of the plugin with the change made to its guest_script.sh would be needed. Still trying to figure out how to install a local version of the plugin to test this out, will update if I get it going. |
Here's a workaround: |
After integrating changes in PR1, this is the output for an attempted install of caravel. This is output from command line in guest os. Ansible task also fails.
Ansible Task:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip_build_vagrant/cryptography/setup.py", line 335, in
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in init
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 858, in best_match
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 870, in obtain
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 314, in fetch_build_egg
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 616, in easy_install
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 646, in install_item
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 834, in install_eggs
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1040, in build_and_install
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1028, in run_setup
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_vagrant/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-ZHG8B6-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_vagrant/cryptography
Storing debug log for failure in /home/vagrant/.pip/pip.log
The text was updated successfully, but these errors were encountered: