Comments (10)
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.
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.
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.
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.
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.
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.
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.
@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.
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.
Cool!
Original comment by [email protected]
on 19 Sep 2013 at 3:51
- Changed state: Verified
from pymssql.
Related Issues (20)
- Failure to pass Unicode characters to callproc; failing test: tests.test_sprocs.TestCallProcFancy.testCallProcWithUnicodeStringWithRussianCharacters HOT 7
- When pymssql.connect() - DB-Lib error message 20002, severity 9;Adaptive Server connection failed HOT 1
- Fix test_config.py typos. HOT 1
- Small fix about TDS protocol version in a comment HOT 1
- Fix a small bug in SP tests HOT 3
- Fix SP name handling in threaded test so we can actually run it. HOT 2
- Feature for discussion (with patch): pymssql_shell HOT 2
- A few tests fail if running on a system that has SQL Server available on port 1433 HOT 1
- add function for getting FreeTDS version HOT 1
- datetime conversion to sql is not converting sub-seconds correctly HOT 5
- memory leaks (patches included) HOT 24
- pymssql-2.0.0b1-dev-20130403.tar.gz doesn't compile due to /usr/bin/ld: cannot find -lct HOT 8
- Installer issue HOT 1
- error: unrecognized command line option "-Wno-parentheses-equality" HOT 8
- pymssql.so: undefined symbol: __fread_chk HOT 5
- Support "with" statement (PEP 343) HOT 5
- Review pymssql result processing code
- Make Cython not necessary when pymssql.c and _mssql.c are already present HOT 1
- IOError: [Errno 2] No such file or directory: 'ChangeLog_highlights.rst' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymssql.