1 2 3 4 | error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c " import setuptools, tokenize;__file__= '/tmp/pip-build-vZ7vea/pymssql/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-dCKU9w-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-vZ7vea/pymssql/ |
安装freetds-devel后,再安装pymssql,否则报上面错误
1 2 | yum -y install freetds-devel.x86_64 pip install pymssql==2.1.0 |