Error installing pymssql on Mac OS X Lion

后端 未结 3 1448
南笙
南笙 2021-02-11 01:26

I have XCode installed and also FreeTDS. I tried to connect to my SQL Server and it works perfect.

Now I have to develop an aplication on python that works with this SQL

3条回答
  •  野的像风
    2021-02-11 01:58

    Or, try this fork, it installs without issues:

    https://github.com/blackbass1988/pymssql-macos-lion

    To install on OS X Mavericks, you need

    OS X Command Line Tools

    FreeTDS

    brew install freetds
    

    Cython

    pip install cython
    

    and then finally you can install the pymssql-macoslion

    pip install git+git://github.com/blackbass1988/pymssql-macos-lion.git@master
    

提交回复
热议问题