Error Installing pymssql on Mac OS X Yosemite

两盒软妹~` 提交于 2019-12-05 07:03:46

You should be able to install pymmsql on your Mac for Azure SQL DB by following these three steps.

Step 1: Install Homebrew Go to your terminal and run the following command :

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Step 2 : Install FreeTDS. From the terminal run the following command :

brew install freetds

This should install freetds on your system

Step 3 : Install pymmsql. From the terminal run the following command

sudo -H pip install pymssql

Now you should be able to use pymssql to connect to Azure SQL DB and SQL Server.

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