RE: [Zope] MySQL Database not working well with Zope
From: Stephen Fung <ricepail@yahoo.com>
I've tried to install ZMySQLDA before, but I've gotten stuck every time. I've installed the newest version of Python on my computer, and have tried to follow the given directions, but, as I run windowsXP, there isn't a whole lot of instructions for windows users. I can't the the ZMySQLDA to work at all, and I get the same "No Module Named _myql" error whenever I start Zope. Can somebody please guide me through the install process in WindowsXP?
I've not tried an installations on Windows, but I suspect that the following Linux cautions apply-- First, be sure you have the right version of Python. With Zope 2.5.1 you need Python 2.1.3. Later versions won't work. You need to install two products not one. I use MySQL-python-0.9.1 and ZMySQLDA-2.0.8. One is the python interface to MySQL and the other is the database adaptor for Zope. Be sure you install both using the version of Python you are using to run Zope--otherwise the wrong libraries are updated.
I've tried to install MySQL-python-0.9.1 again, but, when I try to build the it, I get a message at the end saying "error: command 'cl.exe' failed: No such file or directory", and afterwards, if I try to install it, I get the same message. Whats this mean? Thanks for all the help! --- Dennis Allison <allison@sumeru.stanford.EDU> wrote:
From: Stephen Fung <ricepail@yahoo.com>
I've tried to install ZMySQLDA before, but I've gotten stuck every time. I've installed the newest version of Python on my computer, and have tried to follow the given directions, but, as I run windowsXP, there isn't a whole lot of instructions for windows users. I can't the the ZMySQLDA to work at all, and I get the same "No Module Named _myql" error whenever I start Zope. Can somebody please guide me through the install process in WindowsXP?
I've not tried an installations on Windows, but I suspect that the following Linux cautions apply--
First, be sure you have the right version of Python. With Zope 2.5.1 you need Python 2.1.3. Later versions won't work.
You need to install two products not one. I use MySQL-python-0.9.1 and ZMySQLDA-2.0.8. One is the python interface to MySQL and the other is the database adaptor for Zope.
Be sure you install both using the version of Python you are using to run Zope--otherwise the wrong libraries are updated.
__________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
Stephen, It probably means that the compiler is looking for all the files it needs for the compilation and did not find them. Look at all the messages leading up to the error message to get a clue to where the failure is. Joseph On Wed, 2 Oct 2002 01:30:13 -0700 (PDT), Stephen Fung wrote
I've tried to install MySQL-python-0.9.1 again, but, when I try to build the it, I get a message at the end saying "error: command 'cl.exe' failed: No such file or directory", and afterwards, if I try to install it, I get the same message. Whats this mean?
Thanks for all the help!
--- Dennis Allison <allison@sumeru.stanford.EDU> wrote:
From: Stephen Fung <ricepail@yahoo.com>
I've tried to install ZMySQLDA before, but I've gotten stuck every time. I've installed the newest version of Python on my computer, and have tried to follow the given directions, but, as I run windowsXP, there isn't a whole lot of instructions for windows users. I can't the the ZMySQLDA to work at all, and I get the same "No Module Named _myql" error whenever I start Zope. Can somebody please guide me through the install process in WindowsXP?
I've not tried an installations on Windows, but I suspect that the following Linux cautions apply--
First, be sure you have the right version of Python. With Zope 2.5.1 you need Python 2.1.3. Later versions won't work.
You need to install two products not one. I use MySQL-python-0.9.1 and ZMySQLDA-2.0.8. One is the python interface to MySQL and the other is the database adaptor for Zope.
Be sure you install both using the version of Python you are using to run Zope--otherwise the wrong libraries are updated.
__________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
_______________________________________________ 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 )
PCL Internet WebMail (http://www.pclnet.net)
You can download the compiled MySQL-python-0.9.1 modules for windows at sourceforge -- should get you past the "cl.exe" problem. Here's the URL: http://sourceforge.net/project/showfiles.php?group_id=22307&release_id=10289 3. Kevin -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Stephen Fung Sent: Wednesday, October 02, 2002 4:30 AM To: zope@zope.org Subject: RE: [Zope] MySQL Database not working well with Zope I've tried to install MySQL-python-0.9.1 again, but, when I try to build the it, I get a message at the end saying "error: command 'cl.exe' failed: No such file or directory", and afterwards, if I try to install it, I get the same message. Whats this mean? Thanks for all the help! --- Dennis Allison <allison@sumeru.stanford.EDU> wrote:
From: Stephen Fung <ricepail@yahoo.com>
I've tried to install ZMySQLDA before, but I've gotten stuck every time. I've installed the newest version of Python on my computer, and have tried to follow the given directions, but, as I run windowsXP, there isn't a whole lot of instructions for windows users. I can't the the ZMySQLDA to work at all, and I get the same "No Module Named _myql" error whenever I start Zope. Can somebody please guide me through the install process in WindowsXP?
I've not tried an installations on Windows, but I suspect that the following Linux cautions apply--
First, be sure you have the right version of Python. With Zope 2.5.1 you need Python 2.1.3. Later versions won't work.
You need to install two products not one. I use MySQL-python-0.9.1 and ZMySQLDA-2.0.8. One is the python interface to MySQL and the other is the database adaptor for Zope.
Be sure you install both using the version of Python you are using to run Zope--otherwise the wrong libraries are updated.
__________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com _______________________________________________ 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 (4)
-
Dennis Allison -
Joseph Griffin -
Kevin Carlson -
Stephen Fung