PyODBC : can't open the driver even if it exists

后端 未结 7 1086
一向
一向 2020-12-31 01:03

I\'m new to the linux world and I want to query a Microsoft SQL Server from Python. I used it on Windows and it was perfectly fine but in Linux it\'s quite painful.

7条回答
  •  时光取名叫无心
    2020-12-31 01:42

    I found an answer that works for me here. This is for python 2.7 (so may not work for those who are looking for a solution for python 3.x).

    The suggested solution is to update libgcc: 4.8.5-2 --> 5.2.0-0

    For updating libgcc, use this command

    conda update libgcc
    

提交回复
热议问题