Решил проблему установкой yum install libcurl-devel.x86_64
но появилась новая "Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-110vbxz_/pycurl/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-wpvbpxqt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-110vbxz_/pycurl/"))