[Zope] ZMySQLDA Help
Tony McDonald
tony.mcdonald@ncl.ac.uk
Tue, 02 Jul 2002 17:45:36 +0100
On 2/7/02 5:28 pm, "Todd Loomis, DMSO {SAIC}" <tloomis@dmso.mil> wrote:
> Hi:
>
> Everytime I try to install ZMySQLDA I get the following error:
>
> Traceback (most recent call last):
> File "/var/www/zope/lib/python/OFS/Application.py", line 531, in
> import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File "/var/www/zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ?
> import DA
> File "/var/www/zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ?
> from db import DB
> File "/var/www/zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ?
> import _mysql
> ImportError: No module named _mysql
>
> Can anybody assist me.
>
> Thanks,
> Todd
ZMySQLDA needs the python MySQL module installed. You'll need to get the
source for mysql-python from http://sourceforge.net/projects/mysql-python
and compile it up. I lie. Andy has a few .exes and .rpms there - us old
timers are too used to the ./configure make make install dance. Time to drag
me out and shoot this 'ole dawg...
Hth
Tone.
--
Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope