Skip to content

Instantly share code, notes, and snippets.

@rshsmi
Last active June 13, 2017 14:32
Show Gist options
  • Save rshsmi/8ff34d5e91c97e2832044818dc53a67e to your computer and use it in GitHub Desktop.
Save rshsmi/8ff34d5e91c97e2832044818dc53a67e to your computer and use it in GitHub Desktop.
Install docker-compose CentOS7
yum install -y epel-release
yum install -y python-pip
pip install --upgrade pip
pip install docker-compose
pip install backports.ssl_match_hostname --upgrade
# You might need to run:
pip install six --upgrade
@alofeoluwafemi
Copy link

alofeoluwafemi commented May 12, 2017

Hi, please help i get the error

     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-bW_36I/PyYAML/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-XwuB0P-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-bW_36I/PyYAML/

Thanks 👍

@alofeoluwafemi
Copy link

This was a life saver yum install python-devel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment