[Zope] No module named _mysql
Dennis Allison
allison at sumeru.stanford.EDU
Sat Aug 23 00:14:07 EDT 2003
You need to install the MySQL product as well as ZMySQLDA. You can
fetch both from Sourceforge. There's a RH9 RPM which would probably work
as well.
On Fri, 22 Aug 2003 hpinson at indepthl.com wrote:
> On a new RH9 linux server I am attempting to install ZMySQLDA Product
> and am getting this error: "No module named _mysql"
>
> Prior to install of the Product I had added the mysql-python-0.9.2-
> 1.i386.rpm sucessfully, per suggestions here.
>
> Any suggestions? I see reference to a FAQ but have not been able to
> find it. Where might that be?
>
> Here is the Zope traceback:
>
> Traceback (most recent call last):
> File "/var/zope/lib/python/OFS/Application.py", line 541, in
> import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File "/var/zope/lib/python/Products/ZMySQLDA/__init__.py", line 91,
> in ?
> import DA
> File "/var/zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ?
> from db import DB
> File "/var/zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ?
> import _mysql
> ImportError: No module named _mysql
>
> Harlow Pinson
> Indepth Learning
> Email: hpinson at indepthl.com
> Web: http://www.indepthl.com
> Voice: 505-994-2135
> FAX: 208-475-7678
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list