Coder Social home page Coder Social logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
This means that you need to install FreeTDS.

This is easily done on a Mac with:

* Homebrew -- `brew install freetds`
* MacPorts -- `port install freetds`
* Fink
etc.

You can also compile it from scratch if you don't use a package manager. Make 
sure to run ./configure with --enable-msdblib so that you don't get dates that 
are off by 1 month.

Original comment by [email protected] on 2 Sep 2013 at 7:05

  • Changed state: WontFix

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Is there a different mirror I can use? I tried `brew install freetds` and get 
an HTTP 400:

curl: (22) The requested URL returned error: 400
Error: Download failed: 
http://mirrors.ibiblio.org/freetds/stable/freetds-0.91.tar.gz


Original comment by [email protected] on 2 Sep 2013 at 7:25

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Downloading the source from 
http://mirrors.ibiblio.org/freetds/stable/freetds-0.91.tar.gz and doing 
`./configure --enable-msdblib` allowed `pip install pymssql` to build and 
install successfully. Thank you!!

Original comment by [email protected] on 2 Sep 2013 at 7:30

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Reopening, because I think that we could add code to setup.py to print some 
useful info about how to install FreeTDS, kind of like I did with FreeBSD (see 
https://code.google.com/p/pymssql/issues/detail?id=97#c12)

Original comment by [email protected] on 11 Sep 2013 at 5:18

  • Changed state: Accepted

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Good call. Please let me know if I may be of assistance in testing this change.

Original comment by [email protected] on 11 Sep 2013 at 11:51

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Committed this change to add some helpful tips for installing FreeTDS on OS X.

@markarichman, let me know what you think.

Original comment by [email protected] on 19 Sep 2013 at 5:44

  • Changed state: Fixed

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
I don't see the change. I'm looking here: 
https://code.google.com/p/pymssql/source/list

Sorry, new to Google Code.

Original comment by [email protected] on 19 Sep 2013 at 12:53

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
@markarichman,

Oops, I forgot to post the link to the change. Note that we recently moved the 
source code repo from Google Code (Mercurial) to GitHub.

https://github.com/pymssql/pymssql/commit/5fddb67623b3f5b64d7cf3804105656861754b
29

Let me know if that change would've made installing pymssql on OS X easier for 
you.

Though I'm now starting to come back to the idea of bundling FreeTDS, since 
FreeTDS by default builds without --enable-msdblib, which can lead to problems 
with dates (see https://code.google.com/p/pymssql/wiki/FreeTDSAndDates)

Original comment by [email protected] on 19 Sep 2013 at 2:51

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Ah yes! Sorry didn't know we switched to GitHub. Yes that message is perfect! 
The "--enable-msdblib" was the missing magic I needed.

Original comment by [email protected] on 19 Sep 2013 at 3:19

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Cool!

Original comment by [email protected] on 19 Sep 2013 at 3:51

  • Changed state: Verified

from pymssql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.