2006年03月13日 星期一 11:40
我在ZOPE里面安装一个O2DB,但是怎么也安装不上。 现象:O2DB Error information -------------------------------------------------------------------------------------- Import Traceback Traceback (most recent call last): File "D:\Program Files\Plone\Zope\lib\python\OFS\Application.py", line 673, in import_product product=__import__(pname, global_dict, global_dict, silly) File "D:\Program Files\Plone\Zope\lib\python\Products\O2DB\__init__.py", line 19, in ? from zopeAssists import O2DBFolder, manage_addO2DBFolder, manage_addO2DBFolderForm File "D:\Program Files\Plone\Zope\lib\python\Products\O2DB\zopeAssists.py", line 30, in ? from o2dbConnBroker import * File "D:\Program Files\Plone\Zope\lib\python\Products\O2DB\o2dbConnBroker.py", line 3, in ? import _mysql, CompatMysqldbImportError: No module named _mysql ----------------------------------------------------------------------------------- 安装python interface to mySQL的时候:URL:\Zope\lib\python\products\MySQLpython>setup.py --install You need to set the environment variable mysqlroot! This should be the path to your MySQL installation. Probably C:\Program Files\MySQL 4.1\ or something like that. ----------------------------------------------------------------------------------- 怎么解决这个问题。。。 还有O2DB是不是只支持MySQL。。。如果改换成MSSQL或者Postgres那些要注意。 谢谢!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060313/9973c69c/attachment.htm
Zeuux © 2025
京ICP备05028076号