Error installing pymssql on Mac OS X Lion

后端 未结 3 981
死守一世寂寞
死守一世寂寞 2021-02-11 01:30

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:51

    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
    

提交回复
热议问题