当我尝试在centos6.5上为python3.4和django1.8安装pyodbc时出现此错误:
有人可以帮我解决这个错误.
纠正gcc问题的最佳方法:
您需要重新安装gcc,gcc-c ++和依赖项.
对于python 2.7
$ sudo yum -y install gcc gcc-c++ kernel-devel
$ sudo yum -y install python-devel libxslt-devel libffi-devel openssl-devel
$ pip install "your python packet"
对于python 3.4
$ sudo apt-get install python3-dev
$ pip install "your python packet"