当前位置: 首页 > 工具软件 > pyodbc > 使用案例 >

linux 安装pyodbc 报错

卢文博
2023-12-01

linux

安装pyodbc

In file included from src/buffer.cpp:12:0:
    src/pyodbc.h:56:17: fatal error: sql.h: No such file or directory
     #include <sql.h>
compilation terminated.
    error: command 'gcc' failed with exit status 1

使用:

yum install unixODBC-devel

在安装就可以了

pip install pyodbc
 类似资料: