[Zope] MySQL-Python problems on Win32

FNk fnkunda@africamuseum.be
Wed, 30 Oct 2002 08:49:31 +0100


Let me guess ... Are you using Zope's built-in Python application ?
If you are, the fact that it's built-in means that it doesn't appear in the
windows registry. The installer checks for Python versions in the directory.

You have to install Zope and Python independently (this is the only way of
making python appear in the registry), then configure your start.bat file to
use the new Python installation. Then, when you'll run the
MySQL-Python-0.9.0.exe installer, then python version is going to appear in
your "Select python installation to use" box.

I hope this helps.

Fabien.


----- Original Message -----
From: "Bryan Capitano" <Bryan@capitanoweb.com>
To: "Zope ListServ" <zope@zope.org>
Sent: Tuesday, October 29, 2002 8:56 PM
Subject: [Zope] MySQL-Python problems on Win32


> I am trying to install the MySQL-Python-0.9.0 package onto my WinXP Prof.
> machine with Zope 2.5.1.
> Having problems: the MySQL-Python-0.9.0.exe installer stops with:
>
> "Select Python Installation to use:
> Select Installation directory:"
>
> Well,... there is nothing to select in this window. And the textbox won't
> let me type an installation directory either. This is as far as I can get
> with this exe installer. I have to cancel out of it because it won't let
me
> go to "Next-->".
>
> I've also tried the "platform independent" MySQL-Python-0.9.0.tgz from
> sourceforge.
> Have tried running the `python setup.py build` and `python setup.py
install`
> commands from the Windows command line. But I get this error:
>
> ....
> ....build process seems to be going okay....
> ....
> building '_mysql' extension
> cl.exe /c /nologo /0x /MD /W3 /GX -Ic:\mysql\include "-IC:\Program
> Files\Website\bin\Include" /Tc_mysql.c
> /Fobuild\temp.win32-2.1\Release\_mysql.obj
> error: command 'cl.exe' failed: No such file or directory
>
>
> Don't get me wrong: I'm a serious Linux user. But I need to make some
> traveling presentations on the merits of Zope and I only have a WinXP
laptop
> right now for my demonstrations/presentations. No Linux laptop just yet.
:(
> Any help getting MySQL adapters installed on Windows will be much
> appreciated!
>
> Thanks,
> Bryan
>
> P.S. I have tried both the .exe and .tgz in versions 0.9.0 as well as
0.9.2.
> And I have tried both of these on Zope 2.6.0 on Windows as well. No luck
in
> any of these combinations.
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )