Trouble installing pymssql on Windows

 ̄綄美尐妖づ 提交于 2019-12-05 16:34:24
Gord Thompson

As mentioned (briefly) in the pymssql documentation you cited, and also in my related answer here, your Windows PATH needs to include the folder(s) where the DLL files reside, not the base folder(s) for FreeTDS (and OpenSSL, if required).

So, on my test machine running 32-bit Windows my PATH needed to include the "lib-nossl" folder for FreeTDS ...

C:\Users\Gord\Downloads\freetds-v0.95.83-win-x86-vs2015\lib-nossl

... in order for me to use pymssql 2.1.2 with Python 3.5.1 to establish a non-encrypted connection to my SQL Server.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!