title: What could be causing pypyodbc to display this error
body: <p>I'm trying to switch my script over to pypyodbc from pyodbc. I have the following connect string:</p>
  
  <pre><code>cnxn = pyodbc.connect('DSN=Teradata ODBC DSN;DATABASE=*******;UID=******;PWD=******')
  </code></pre>
  
  <p>which works perfectly fine with pyodbc, but when I go to use pypyodbc instead, I get the following error:</p>
  
  <pre><code>  File "web.py", line 8, in &lt;module&gt;
      cnxn = pyodbc.connect('DSN=Teradata ODBC DSN')
    File "/usr/local/lib/python3.5/dist-packages/pypyodbc.py", line 2437, in __init__
      AllocateEnv()
    File "/usr/local/lib/python3.5/dist-packages/pypyodbc.py", line 1017, in AllocateEnv
      check_success(SQL_NULL_HANDLE, ret)
    File "/usr/local/lib/python3.5/dist-packages/pypyodbc.py", line 1011, in check_success
      ctrl_err(SQL_HANDLE_ENV, ODBC_obj, ret, False)
    File "/usr/local/lib/python3.5/dist-packages/pypyodbc.py", line 991, in ctrl_err
      raise ProgrammingError('', 'SQL_INVALID_HANDLE')
  pypyodbc.ProgrammingError: ('', 'SQL_INVALID_HANDLE')
  </code></pre>
  
  <p>What could be causing this to happen? I've seen some fixes that involve removing unnecessary quotes from the connect string, but I do not believe I have any here, so I'm not sure what else to do. </p>