python 安裝pymssql


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,否則報上面錯誤

yum -y install freetds-devel.x86_64
pip install pymssql==2.1.0

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM