How do I install the pymssql module in Python 3.6?

I went through a couple of docs involving FreeTDS, Wheel, git and github, but nothing worked on my Windows 10 PC with Python 3.6, but I need to install it. I am working on a project and my favorite is mssql which is already installed on my computer.

+6


source to share


2 answers


this seems to work (from http://pymssql.org/en/stable/freetds.html ):



export PYMSSQL_BUILD_WITH_BUNDLED_FREETDS = 1

pip install pymssql

+6


source


Remember to install first FreeTDS

.

Ubuntu / Debian:

sudo apt-get install freetds-dev

      

Homebrew Mac OS X:



brew install freetds

      

Finally:

pip install pymssql

      

0


source







All Articles