How to download PYODBC on Python 3.4

BillyMadison picture BillyMadison · Feb 27, 2015 · Viewed 8.6k times · Source

I've been trying to download PYODBC 1.3 onto Python 3.4 for about 2 weeks.

I've gone to: https://pypi.python.org/pypi/pypyodbc/1.3.0 to download the folders.

When I run the easy_install.py and pyodbc.py, it seems to run fine. But then when I try to create a new query or whatever, and when I import PYODBC, it says "No module named 'pyodbc'.

Can I please get step by step instructions to download it?

I have Windows 32 bit, if that helps.

Any information would help me tremendously! Thank you!

Answer

Bryan picture Bryan · Feb 27, 2015

pypyodbc and pyodbc are different modules. Decide which one you want (they're very similar, though I've seen some have an easier time with Unicode data using pypyodbc) and

import pypyodbc

or

import pyodbc

Unless you specifically need version 1.3.0 of pypyodbc, go grab the latest.