[DB-SIG] SQLserver and mySQL examples for a newbie

M.-A. Lemburg mal@lemburg.com
Mon, 29 Oct 2001 09:30:57 +0100


ronny.de_winter@alcatel.be wrote:
> 
> Thanks for the answers.
> 
> MySQLdb works ok for me.
> 
> With mxODBC i have problems:
>     import mx.ODBC
> ImportError: No module named mx.ODBC
> 
> Also during installation on NT (egenix-mx-commercial-2.0.3.win32-py2.1.exe)
> i encountered some error messages:
> Software\Microsoft\Windows\CurrentVersion\uninstall: could not open key
> egenix-mx-commercial-2.0.3.win32-py2.1: could not create key

You must have admin rights on the machine and install the package
as admin if you have installed Python in the same way.

> However the final message was: module successfully installed

Please check whether the files are all there in \Python21\mx
and subdirs. If not, you are having a permission problem. Distutils
packages install directly into the Python distribution per default
and depending on how you've installed Python itself, you may
run into trouble when installing extensions using some other
user account.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/