platiumky / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Installing pyodbc on windows 7 64 bit with python 3.3.1 #327

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, 
I am trying to get pyodbc to run with my python.
I downloaded and successfully ran this installer here:
pyodbc-3.0.6.win-amd64-py3.3.exe

when i try to: import pyodbc i get the following error:
ImportError: No module named pyodbc

So where do i need to stick this to get it to work:
here are my paths from python import sys print(sys.path):
C:\\windows\system32\python33.zip, D:\\python\dlls, D:\\python\lib, D:\\Python, 
D:\\Python\lib\site-packages

Thansk, James

Original issue reported on code.google.com by dogdayn...@gmail.com on 21 Jun 2013 at 10:11

GoogleCodeExporter commented 8 years ago
Update on above: This actually works from python shell but not from a file:
meaning if i put it
C:\python
>>> import pyodbc as p
>>> 

if i open a python file as names.py with the following contents:

import pyodbc as p

i get the following output
import pyodbc as p
ImportError: No module named pyodbc

Original comment by dogdayn...@gmail.com on 21 Jun 2013 at 11:32