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.
Thank you Larry McDonnell and Mark Gibson, Your post on ZODBCA helped give me a work-around solution to my windows MySQL database. I have Access and MySQL installed on Windows. I have MyODBC installed so I can look at MySQL databases using the ODBC protocol. I just installed the Zope ODBC adapter (as per your post). Now I can look at MySQL databasese through ZODBC. Cool! But I would like to see if I can't still get the MySQL-Python and MySQLDa adapter working on Windows. Thanks, Bryan
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Bryan Capitano Sent: Tuesday, October 29, 2002 11:57 AM To: Zope ListServ 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 )
Bryan, The workaround to your problem is - 1. Install Python2.1.3 on your machine 2. Install Mysql-Python package. It should find Python this time 3. Copy the installed files to the Zope/Python directory. 4. Install MySQLDa. You should now be able to access the Mysql db through Zope Bryan Capitano wrote:
Thank you Larry McDonnell and Mark Gibson,
Your post on ZODBCA helped give me a work-around solution to my windows MySQL database. I have Access and MySQL installed on Windows. I have MyODBC installed so I can look at MySQL databases using the ODBC protocol.
I just installed the Zope ODBC adapter (as per your post). Now I can look at MySQL databasese through ZODBC.
Cool!
But I would like to see if I can't still get the MySQL-Python and MySQLDa adapter working on Windows.
Thanks, Bryan
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Bryan Capitano Sent: Tuesday, October 29, 2002 11:57 AM To: Zope ListServ 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 )
_______________________________________________ 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 )
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 )
participants (3)
-
Bryan Capitano -
FNk -
Hirendra Hindocha