python 安裝 pymssql 欄目 Python 简体版
原文   原文鏈接
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,不然報上面錯誤python

yum -y install freetds-devel.x86_64
pip install pymssql==2.1.0
相關文章
相關標籤/搜索
每日一句
    每一个你不满意的现在,都有一个你没有努力的曾经。
本站公眾號
   歡迎關注本站公眾號,獲取更多信息