pymssql 설치

pymssql 설치 전 필요 모듈

yum install -y freetds-devel

 

설치하지 않을경우 에러 발생

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-hvQIvO/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-xcFnZ5-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-hvQIvO/pymssql/

 

pymssql 설치

pip install pymssql