Re: pyodbc: Works in Plain Python, Django 1.8 Shell Throws Error

2015-04-28 Thread Matthew Woodward
Thanks for the response! Turns out that it was actually a bug in pyodbc that's already been fixed: https://github.com/mkleehammer/pyodbc/issues/38 Working for me now, or at least the import is. :-) Running into another issue that'll hopefully be fixed soon:

Re: pyodbc: Works in Plain Python, Django 1.8 Shell Throws Error

2015-04-28 Thread Ederson Mota Pereira
Hi Matt, I have been through something similar some days ago. Reverting to the 3.0.7 pyodbc version worked for me. If you are using pip, maybe you will need to use --allow-external and --allow-unverified flags. Be warned of the security issues of doing something like this. Att, On Mon, Apr

pyodbc: Works in Plain Python, Django 1.8 Shell Throws Error

2015-04-27 Thread Matt Woodward
Running into a bit of an odd problem I hope someone can help with. Envrionment: * Ubuntu Server 14.04, 64-bit (Vagrant box) * Python 3.4 * Django 1.8 * pyodbc 3.0.8 pyodbc installs fine. When I do python3 and then import pyodbc, that works fine. When I do python3 manage.py shell and then