sql.h not found when installing PyODBC on Heroku

前端 未结 6 764
一向
一向 2020-12-02 20:08

I\'m trying to install PyODBC on Heroku, but I get fatal error: sql.h: No such file or directory in the logs when pip runs. How do I fix this error?

6条回答
  •  伪装坚强ぢ
    2020-12-02 20:34

    You need the unixODBC devel package. I don't know what distro you are using but you can google it and build from source.

提交回复
热议问题