connect to ms-sql from python, tried in several ways but no luck
<p>I am trying with <code>pyodbc</code> and <code>freetds</code>, but <code>freetds</code> can't be installed. I got an error like:</p>

<pre><code>==&gt; Installing homebrew/versions/freetds091
==&gt; Downloading ftp://ftp.freetds.org/pub/freetds/stable/freetds-0.91.112.tar.gz


curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received
Error: Failed to download resource "freetds091"
</code></pre>

<p>You'll want to edit the formula to replace the ftp address with an http address..</p>

<pre><code>brew edit freetds
</code></pre>

<p>This will open the FreeTDS formula. Replace the line starting with <code>url</code> with:</p>

<pre><code>url "https://fossies.org/linux/privat/freetds-1.00.15.tar.bz2"
</code></pre>

<p>This will also install the latest / greatest 1.00 version; 0.91 is very out of date. Good luck!</p>

python freetds