# Wget https://pypi.python.org/packages/4c/c8/5ad36d8d3c304ab4f310c89d0593ab7b6229568dd8e9cde927311b2f0c00/pymssql-2.1.3.tar.gz

# Phython setup.py build

报错如图:

Not using bundled FreeTDS (error: command 'gcc' failed with exit status 1)

系统版本:

# rpm -q centos-release

centos-release-7-2.1511.el7.centos.2.10.x86_64
安装EPEL源

# yum -y install epel-release
# yum -y install gcc python-pip python-devel freetds-devel
再安装你的physql:

Not using bundled FreeTDS (error: command 'gcc' failed with exit status 1)

 

成功!

参考:http://stackoverflow.com/questions/30109770/python2-7-pip-install-pymssql-fails-on-centos-6-3

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-27
  • 2021-09-29
  • 2021-05-22
  • 2021-11-11
  • 2021-12-10
猜你喜欢
  • 2022-02-28
  • 2021-11-05
  • 2022-02-11
  • 2022-12-23
相关资源
相似解决方案