Unable to install pyodbc on Linux

前端 未结 18 2086
野趣味
野趣味 2020-11-28 05:23

I am running Linux (2.6.18-164.15.1.el5.centos.plus) and trying to install pyodbc. I am doing pip install pyodbc and get a very long list of errors, which end in

18条回答
  •  半阙折子戏
    2020-11-28 05:43

    I have referenced this question several times, and gone on to actually find the answer I was looking for here: pyodbc wiki

    To avoid gcc error on Ubuntu Linux, I did:

    sudo aptitude install g++
    

    I also installed the following 2 packages from Synaptic:

    • python-dev

    • tdsodbc

提交回复
热议问题