Python论坛  - 讨论区

标题:[python-chinese] Zope O2DB 的安装问题

2006年03月10日 星期五 17:20

Sonic pan sonicpan at gmail.com
Fri Mar 10 17:20:26 HKT 2006

我在安装Zope O2DB(MySQL已经安装)的时候出错:
---------------------------------------------------------------------------------------------------
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\pythonproducts\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.
-----------------------------------------------------------

1。如何解决这个问题。。。
2。还有如果要想O2DB支持MSSQL或者Postgres有哪些地方需要注意。
   谢谢!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060310/46a55cde/attachment-0001.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年03月10日 星期五 17:24

唐 建 tangjian_sc at hotmail.com
Fri Mar 10 17:24:21 HKT 2006

豆半走在了前面,我们奋勇直追啊!!!
菜贩子


>From: python-chinese-request at lists.python.cn
>Reply-To: python-chinese at lists.python.cn
>To: python-chinese at lists.python.cn
>Subject: python-chinese Digest, Vol 27, Issue 46
>Date: Fri, 10 Mar 2006 17:20:54 +0800 (HKT)
>
>Send python-chinese mailing list submissions to
>	python-chinese at lists.python.cn
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://python.cn/mailman/listinfo/python-chinese
>or, via email, send a message with subject or body 'help' to
>	python-chinese-request at lists.python.cn
>
>You can reach the person managing the list at
>	python-chinese-owner at lists.python.cn
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of python-chinese digest..."
>
>
>Today's Topics:
>
>    1. ?????????????? (3rd)
>    2. Re: ??????Python??????? (Bo Yang)
>    3. (no subject) ( ?? )
>    4. Re: ??????Python??????? ( ???? )
>    5. Re: ?????????????? ( ???? )
>    6. Re: ??????Python??????? (ajax chelsea)
>    7. Re: ?????????????? (Sonic pan)
>    8. Re: ??????Python??????? (Leo Jay)
>    9. Zope O2DB ????? (Sonic pan)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 10 Mar 2006 12:46:59 +0800
>From: 3rd <qiulihong at gmail.com>
>Subject: [python-chinese] ??????????????
>To: python-chinese at lists.python.cn
>Message-ID: <66aeed0b0603092046h5291d3ffl at mail.gmail.com>
>Content-Type: text/plain; charset="gb2312"
>
>郁闷
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
http://lists.exoweb.net/pipermail/python-chinese/attachments/20060310/e7fb66d7/attachment-0001.html

>
>------------------------------
>
>Message: 2
>Date: Fri, 10 Mar 2006 13:47:28 +0800
>From: Bo Yang <boyang at mac.com>
>Subject: Re: [python-chinese] ??????Python???????
>To: python-chinese at lists.python.cn
>Message-ID: <B41F69D8-5C33-4C10-B3F5-85025EA78CE5 at mac.com>
>Content-Type: text/plain; charset=GBK; delsp=yes; format=flowed
>
>我还是澄清一下这个“合伙人”的问题。不好意思最后再打搅大家一次。
>
>1. 豆瓣是在招聘,不是在寻找创业合伙人(已经太晚。我现在是唯一创始
>人)。我们现在有投资,有收入,发工资,很快会有福利,  档案有可能是在
>FESCO。这些方面和大公司相同。
>2. 虽然豆瓣现在是世界千大网站之一,我们还只有两个全职开发人员(包括我
>自己)。所以工作关系方面,大家是团队伙伴关系。我希望豆瓣会有一个小但非
>常精干的技术团队。看过黑泽明的七武士吗?
>3. 全职工作人员都有期权。对豆瓣的贡献越大,占有豆瓣的股份会越多。你也
>可以选择少拿工资,多拿期权,这是你自己的决定。当然了,期权只有未来公司
>兴旺的时候才有意义。
>4. 创业公司虽然待遇可以有竞争力,但运作的风险很高。所以这样的职位有更
>多不稳定性,的确不是对所有人合适。
>5. 我相信感兴趣的人会关心企业文化。豆瓣会是硅谷创业公司一派,因为这是
>我个人最熟悉的企业文化。有一天我们有几百人的时候,我希望开发人员仍然可
>以黑白颠倒,或者在家工作,或者在办公室维护你自己的open source项目。
>
>还有,豆瓣是100%的python网站。从网站、搜索、数据挖掘到临时的数据库维护
>工具, 全是python。现在在quixote的mailing list上,正在讨论douban.com 是
>不是现在全世界用quixote/cherrypy/RoR/TurboGear/django网站里流量最大的
>一个。:)
>
>好,有兴趣请直接和我联系。现在回到技术讨论吧。
>
>- 阿北
>
>------------------------------
>
>Message: 3
>Date: Fri, 10 Mar 2006 14:34:43 +0800
>From: " ?? " <zhujiemao at 126.com>
>Subject: [python-chinese] (no subject)
>To: "python-chinese" <python-chinese at lists.python.cn>
>Message-ID: <DreamMail__143443_15652481457 at smtp.126.com>
>Content-Type: text/plain;	charset="GB2312"
>
>test
>
>------------------------------
>
>Message: 4
>Date: Fri, 10 Mar 2006 15:09:34 +0800
>From: " ???? " <honeyday.mj at gmail.com>
>Subject: Re: [python-chinese] ??????Python???????
>To: python-chinese at lists.python.cn
>Message-ID: <767559b0603092309g125efe9h at mail.gmail.com>
>Content-Type: text/plain; charset=GB2312
>
>在 06-3-10,Bo Yang<boyang at mac.com> 写道:
> > 我还是澄清一下这个"合伙人"的问题。不好意思最后再打搅大家一次。
> >
> > 1. 豆瓣是在招聘,不是在寻找创业合伙人(已经太晚。我现在是唯一创始
> > 人)。我们现在有投资,有收入,发工资,很快会有福利,  档案有可能是在
> > FESCO。这些方面和大公司相同。
>
>外服很贵的阿!
>难道阿北是华侨?公司是外企?
>
>------------------------------
>
>Message: 5
>Date: Fri, 10 Mar 2006 15:10:55 +0800
>From: " ???? " <honeyday.mj at gmail.com>
>Subject: Re: [python-chinese] ??????????????
>To: python-chinese at lists.python.cn
>Message-ID: <767559b0603092310l301172fal at mail.gmail.com>
>Content-Type: text/plain; charset=GB2312
>
>在 06-3-10,3rd<qiulihong at gmail.com> 写道:
> > 郁闷
>
>你已经发出来了,郁闷啥?
>
>------------------------------
>
>Message: 6
>Date: Fri, 10 Mar 2006 16:18:23 +0800
>From: "ajax chelsea" <ajaxchelsea at gmail.com>
>Subject: Re: [python-chinese] ??????Python???????
>To: python-chinese at lists.python.cn
>Message-ID: <a4ce5d140603100018s44313862v at mail.gmail.com>
>Content-Type: text/plain; charset="gb2312"
>
>呵呵,看过一篇报道,豆瓣是在丰联广场的星巴克里写出来的
>
>在06-3-10,马踏飞燕 <honeyday.mj at gmail.com> 写道:
> >
> > 在 06-3-10,Bo Yang<boyang at mac.com> 写道:
> > > 我还是澄清一下这个"合伙人"的问题。不好意思最后再打搅大家一次。
> > >
> > > 1. 豆瓣是在招聘,不是在寻找创业合伙人(已经太晚。我现在是唯一创始
> > > 人)。我们现在有投资,有收入,发工资,很快会有福利,  档案有可能是在
> > > FESCO。这些方面和大公司相同。
> >
> > 外服很贵的阿!
> > 难道阿北是华侨?公司是外企?
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to  
python-chinese-request at lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
http://lists.exoweb.net/pipermail/python-chinese/attachments/20060310/51038b66/attachment-0001.html

>
>------------------------------
>
>Message: 7
>Date: Fri, 10 Mar 2006 16:32:03 +0800
>From: "Sonic pan" <sonicpan at gmail.com>
>Subject: Re: [python-chinese] ??????????????
>To: python-chinese at lists.python.cn
>Message-ID: <5ebeb7a20603100032p799c097ah at mail.gmail.com>
>Content-Type: text/plain; charset="gb2312"
>
>我在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/20060310/bff8906a/attachment-0001.htm

>
>------------------------------
>
>Message: 8
>Date: Fri, 10 Mar 2006 17:02:13 +0800
>From: "Leo Jay" <python.leojay at gmail.com>
>Subject: Re: [python-chinese] ??????Python???????
>To: python-chinese at lists.python.cn
>Message-ID:
>	<4e307e0f0603100102nd67baect32a8fd8b15c93876 at mail.gmail.com>
>Content-Type: text/plain; charset=GB2312
>
>On 3/10/06, ajax chelsea <ajaxchelsea at gmail.com> wrote:
> > 呵呵,看过一篇报道,豆瓣是在丰联广场的星巴克里写出来的
> >
>
>星巴克可以续杯吗?不然的话,坐在那一天少说要喝100多块钱的咖啡吧?
>
>--
>Best Regards,
>Leo Jay
>
>------------------------------
>
>Message: 9
>Date: Fri, 10 Mar 2006 17:20:26 +0800
>From: "Sonic pan" <sonicpan at gmail.com>
>Subject: [python-chinese] Zope O2DB ?????
>To: python-chinese at lists.python.cn
>Message-ID: <5ebeb7a20603100120w552b1613o at mail.gmail.com>
>Content-Type: text/plain; charset="gb2312"
>
>我在安装Zope O2DB(MySQL已经安装)的时候出错:
>---------------------------------------------------------------------------------------------------

>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\pythonproducts\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.
>-----------------------------------------------------------
>
>1。如何解决这个问题。。。
>2。还有如果要想O2DB支持MSSQL或者Postgres有哪些地方需要注意。
>    谢谢!!!
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
http://lists.exoweb.net/pipermail/python-chinese/attachments/20060310/46a55cde/attachment.html

>
>------------------------------
>
>_______________________________________________
>python-chinese mailing list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese
>
>End of python-chinese Digest, Vol 27, Issue 46
>**********************************************

_________________________________________________________________
与世界各地的朋友进行交流,免费下载 MSN Messenger:  
http://messenger.msn.com/cn 


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号