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

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-07-27
猜你喜欢
  • 2022-02-08
  • 2022-12-23
  • 2021-06-23
  • 2021-06-21
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
相关资源
相似解决方案