Can't import from mx.ODBC

karthik Guru karthikg at aztec.soft.net
Tue Dec 11 00:32:31 EST 2001


okay am a newbie but i'm doubtful about something here.

why is the sys.path showing 'C:\\Python21\\mx\\ODBC'? i mean the path s'd be
set only upto

c:\\Python21 i guess bcos the module mx.ODBC.Windows starts from the root
(c:\\Python21).

so when we do a

import mx.ODBC.Windows, it should work fine without tweaking the sys.path i
guess.

karthik.


-----Original Message-----
From: python-list-admin at python.org
[mailto:python-list-admin at python.org]On Behalf Of Sunit Joshi
Sent: Monday, December 10, 2001 11:58 PM
To: python-list at python.org
Subject: Can't import from mx.ODBC


Hello
I'm trying to imort from mx.ODCB.Windows but I keep getting an error
saying "ImportError: No module named mx.ODBC.Windows". I checked the
sys.path and I do have the following:  'C:\\Python21\\mx\\ODBC'

Could someone please tell me what is wrong here..??

thanks
Sunit
sjoshi at ingr.com
--
http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list