Python论坛  - 讨论区

标题:[python-chinese] 求助,MySQL-python的安装

2006年12月02日 星期六 15:57

王志伟 windtake在gmail.com
星期六 十二月 2 15:57:02 HKT 2006

»·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºóÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â¾ö°ì·¨
GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸µã£¡¶àл

-- 
Best regard!
Yours windtake!
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/c84e2216/attachment.html 

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

2006年12月02日 星期六 16:07

fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com
星期六 十二月 2 16:07:44 HKT 2006

王志伟 wrote:
> 环境:ubuntu 6.10 + python 2.4 + MySQL 5.0
> 在安装MySQL-python的时候总是会报错说找不到python.h,然后又报出一对的错误。
> 我想是site.cfg没有配置好或怎么样,请大家给你实例。谢谢!
> 由于python和ubuntu都是刚刚才开始学习,找来找去都找不到解决办法
> Google和ubuntu的forum都找过都没有找到办法才麻烦大家,请指点!多谢
>
> -- 
> Best regard!
> Yours windtake!
> ------------------------------------------------------------------------
你装了python的包,但是好像没有装python-dev的包,apt-cache search一下python-dev


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

2006年12月02日 星期六 16:16

王志伟 windtake在gmail.com
星期六 十二月 2 16:16:28 HKT 2006

Ö´Ðк󿴵½ÒÔÏÂÐÅÏ¢£º
libboost-python-dev - Boost.Python Library development files
python-dev - Header files and a static library for Python (default)
²»¹ý²»¶®Ê²Ã´Òâ˼£¬ºÇºÇ£¬ÇëÖ¸½Ì¡£Ð»Ð»£¡

2006/12/2, fdu.xiaojf在gmail.com <fdu.xiaojf在gmail.com>:
>
> Íõ־ΰ wrote:
> > »·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
> > ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºóÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
> > ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
> > ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â¾ö°ì·¨
> > GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸µã£¡¶àл
> >
> > --
> > Best regard!
> > Yours windtake!
> > ------------------------------------------------------------------------
> Äã×°ÁËpythonµÄ°ü,µ«ÊǺÃÏñûÓÐ×°python-devµÄ°ü,apt-cache searchÒ»ÏÂpython-dev
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese




-- 
Best regard!
Yours windtake!
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/bb6180e0/attachment.html 

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

2006年12月02日 星期六 16:19

Luo Ben benluo在gmail.com
星期六 十二月 2 16:19:33 HKT 2006

看文档。又不是小孩不识字。

On 12/2/06, 王志伟 <windtake在gmail.com> wrote:
> 执行后看到以下信息:
> libboost-python-dev - Boost.Python Library development files
> python-dev - Header files and a static library for Python (default)
> 不过不懂什么意思,呵呵,请指教。谢谢!
>
> 2006/12/2, fdu.xiaojf在gmail.com <fdu.xiaojf在gmail.com>:
> > 王志伟 wrote:
> > > 环境:ubuntu 6.10 + python 2.4 + MySQL 5.0
> > > 在安装MySQL-python的时候总是会报错说找不到python.h,然后又报出一对的错误。
> > > 我想是site.cfg没有配置好或怎么样,请大家给你实例。谢谢!
> > > 由于python和ubuntu都是刚刚才开始学习,找来找去都找不到解决办法
> > > Google和ubuntu的forum都找过都没有找到办法才麻烦大家,请指点!多谢
> > >
> > > --
> > > Best regard!
> > > Yours windtake!
> > >
> ------------------------------------------------------------------------
> > 你装了python的包,但是好像没有装python-dev的包,apt-cache
> search一下python-dev
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to
> python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>
>
> --
> Best regard!
> Yours windtake!
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>

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

2006年12月02日 星期六 16:22

Zu Zhihui zuzhihui在gmail.com
星期六 十二月 2 16:22:22 HKT 2006

ÔËÐÐ
apt-get install python-mysqldb
ÊÔÊÔ¿´ÄÜ·ñ¿ÉÒÔ


ÔÚ06-12-2£¬Íõ־ΰ <windtake在gmail.com> дµÀ£º
>
> Ö´Ðк󿴵½ÒÔÏÂÐÅÏ¢£º
> libboost-python-dev - Boost.Python Library development files
> python-dev - Header files and a static library for Python (default)
> ²»¹ý²»¶®Ê²Ã´Òâ˼£¬ºÇºÇ£¬ÇëÖ¸½Ì¡£Ð»Ð»£¡
>
> 2006/12/2, fdu.xiaojf在gmail.com <fdu.xiaojf在gmail.com>:
> >
> > Íõ־ΰ wrote:
> > > »·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
> > > ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºóÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
> > > ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
> > > ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â¾ö°ì·¨
> > > GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸µã£¡¶àл
> > >
> > > --
> > > Best regard!
> > > Yours windtake!
> > >
> > ------------------------------------------------------------------------
> > Äã×°ÁËpythonµÄ°ü,µ«ÊǺÃÏñûÓÐ×°python-devµÄ°ü,apt-cache searchÒ»ÏÂpython-dev
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
> Best regard!
> Yours windtake!
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/8b319762/attachment.html 

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

2006年12月02日 星期六 16:37

王志伟 windtake在gmail.com
星期六 十二月 2 16:37:21 HKT 2006

¾ßÌåÊÇʲôÎĵµÄܸæÖª·ñ£¿Ð»Ð»£¡

2006/12/2, Luo Ben <benluo在gmail.com>:
>
> ¿´Îĵµ¡£ÓÖ²»ÊÇСº¢²»Ê¶×Ö¡£
>
> On 12/2/06, Íõ־ΰ <windtake在gmail.com> wrote:
> > Ö´Ðк󿴵½ÒÔÏÂÐÅÏ¢£º
> > libboost-python-dev - Boost.Python Library development files
> > python-dev - Header files and a static library for Python (default)
> > ²»¹ý²»¶®Ê²Ã´Òâ˼£¬ºÇºÇ£¬ÇëÖ¸½Ì¡£Ð»Ð»£¡
> >
> > 2006/12/2, fdu.xiaojf在gmail.com <fdu.xiaojf在gmail.com>:
> > > Íõ־ΰ wrote:
> > > > »·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
> > > > ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºóÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
> > > > ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
> > > > ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â¾ö°ì·¨
> > > > GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸µã£¡¶àл
> > > >
> > > > --
> > > > Best regard!
> > > > Yours windtake!
> > > >
> > ------------------------------------------------------------------------
> > > Äã×°ÁËpythonµÄ°ü,µ«ÊǺÃÏñûÓÐ×°python-devµÄ°ü,apt-cache
> > searchÒ»ÏÂpython-dev
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to
> > python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> > --
> > Best regard!
> > Yours windtake!
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese




-- 
Best regard!
Yours windtake!
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/24112096/attachment.htm 

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

2006年12月02日 星期六 16:42

王志伟 windtake在gmail.com
星期六 十二月 2 16:42:42 HKT 2006

ÔËÐÐ apt-get install python-mysqldbºó»áÌáʾ£º
E: ÎÞ·¨»ñµÃËø /var/cache/apt/archives/lock - open (11 Resource temporarily
unavailable)
E: ÎÞ·¨¶ÔÏÂÔØĿ¼¼ÓËø
ÎÒÓÃrootÓû§Ö´ÐУ¬»¹ÊÇ»áÌáʾÕâÑùµÄÎÊÌâ
ÔÚ06-12-2£¬Zu Zhihui <zuzhihui在gmail.com> дµÀ£º
>
> ÔËÐÐ
> apt-get install python-mysqldb
> ÊÔÊÔ¿´ÄÜ·ñ¿ÉÒÔ
>
>
> ÔÚ06-12-2£¬Íõ־ΰ <windtake在gmail.com> дµÀ£º
> >
> > Ö´Ðк󿴵½ÒÔÏÂÐÅÏ¢£º
> > libboost-python-dev - Boost.Python Library development files
> > python-dev - Header files and a static library for Python (default)
> > ²»¹ý²»¶®Ê²Ã´Òâ˼£¬ºÇºÇ£¬ÇëÖ¸½Ì¡£Ð»Ð»£¡
> >
> > 2006/12/2, fdu.xiaojf在gmail.com <fdu.xiaojf在gmail.com>:
> > >
> > > Íõ־ΰ wrote:
> > > > »·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
> > > > ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºóÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
> > > > ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
> > > > ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â¾ö°ì·¨
> > > > GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸µã£¡¶àл
> > > >
> > > > --
> > > > Best regard!
> > > > Yours windtake!
> > > >
> > > ------------------------------------------------------------------------
> > > Äã×°ÁËpythonµÄ°ü,µ«ÊǺÃÏñûÓÐ×°python-devµÄ°ü,apt-cache searchÒ»ÏÂpython-dev
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> >
> > --
> > Best regard!
> > Yours windtake!
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



-- 
Best regard!
Yours windtake!
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/4c40e734/attachment.html 

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

2006年12月02日 星期六 16:46

fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com
星期六 十二月 2 16:46:36 HKT 2006

王志伟 wrote:
> 运行 apt-get install python-mysqldb后会提示:
> E: 无法获得锁 /var/cache/apt/archives/lock - open (11 Resource
> temporarily unavailable)
> E: 无法对下载目录加锁
> 我用root用户执行,还是会提示这样的问题
这个一般是另外一个root进程在使用aptitude之类的包管理工具
> 在06-12-2,* Zu Zhihui* <zuzhihui在gmail.com
> zuzhihui在gmail.com>> 写道:
>
>     运行
>     apt-get install python-mysqldb
>     试试看能否可以
>
>
>     在06-12-2,*王志伟* < windtake在gmail.com
>     windtake在gmail.com>> 写道:
>
>         执行后看到以下信息:
>         libboost-python-dev - Boost.Python Library development files
>         python-dev - Header files and a static library for Python
>         (default)
>         不过不懂什么意思,呵呵,请指教。谢谢!
>
python-dev,这个里面是python的头文件

debian和ubuntu里面的python包不包含python-dev的.

就跟你装了linux的内核,但是要编译一些动写的时候还要再装内核的头文件差不多

>
>         2006/12/2, fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com>
>         <fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com>>:
>
>             王志伟 wrote:
>             > 环境:ubuntu 6.10 + python 2.4 + MySQL 5.0
>             > 在安装MySQL-python的时候总是会报错说找不到python.h,然后
>             又报出一对的错误。
>             > 我想是site.cfg没有配置好或怎么样,请大家给你实例。谢谢!
>             > 由于python和ubuntu都是刚刚才开始学习,找来找去都找不到解
>             决办法
>             > Google和ubuntu的forum都找过都没有找到办法才麻烦大家,请指
>             点!多谢
>             >
>             > --
>             > Best regard!
>             > Yours windtake!
>             > ------------------------------------------------------------------------
>             你装了python的包,但是好像没有装python-dev的包,apt-cache
>             search一下python-dev
>
>             _______________________________________________
>             python-chinese
>             Post: send python-chinese在lists.python.cn
>             python-chinese在lists.python.cn>
>             Subscribe: send subscribe to
>             python-chinese-request在lists.python.cn
>             python-chinese-request在lists.python.cn>
>             Unsubscribe: send unsubscribe to
>             python-chinese-request在lists.python.cn
>             python-chinese-request在lists.python.cn>
>             Detail Info:
>             http://python.cn/mailman/listinfo/python-chinese
>             <http://python.cn/mailman/listinfo/python-chinese>
>
>
>
>
>         -- 
>         Best regard!
>         Yours windtake!
>


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

2006年12月02日 星期六 17:12

Zu Zhihui zuzhihui在gmail.com
星期六 十二月 2 17:12:33 HKT 2006

sudo apt-get install python-mysqldb

2006/12/2, fdu.xiaojf在gmail.com <fdu.xiaojf在gmail.com>:
>
> Íõ־ΰ wrote:
> > ÔËÐÐ apt-get install python-mysqldbºó»áÌáʾ£º
> > E: ÎÞ·¨»ñµÃËø /var/cache/apt/archives/lock - open (11 Resource
> > temporarily unavailable)
> > E: ÎÞ·¨¶ÔÏÂÔØĿ¼¼ÓËø
> > ÎÒÓÃrootÓû§Ö´ÐУ¬»¹ÊÇ»áÌáʾÕâÑùµÄÎÊÌâ
> Õâ¸öÒ»°ãÊÇÁíÍâÒ»¸öroot½ø³ÌÔÚʹÓÃaptitudeÖ®ÀàµÄ°ü¹ÜÀí¹¤¾ß
> > ÔÚ06-12-2£¬* Zu Zhihui* <zuzhihui在gmail.com
> > zuzhihui在gmail.com>> дµÀ£º
> >
> >     ÔËÐÐ
> >     apt-get install python-mysqldb
> >     ÊÔÊÔ¿´ÄÜ·ñ¿ÉÒÔ
> >
> >
> >     ÔÚ06-12-2£¬*Íõ־ΰ* < windtake在gmail.com
> >     windtake在gmail.com>> дµÀ£º
> >
> >         Ö´Ðк󿴵½ÒÔÏÂÐÅÏ¢£º
> >         libboost-python-dev - Boost.Python Library development files
> >         python-dev - Header files and a static library for Python
> >         (default)
> >         ²»¹ý²»¶®Ê²Ã´Òâ˼£¬ºÇºÇ£¬ÇëÖ¸½Ì¡£Ð»Ð»£¡
> >
> python-dev,Õâ¸öÀïÃæÊÇpythonµÄÍ·Îļþ
>
> debianºÍubuntuÀïÃæµÄpython°ü²»°üº¬python-devµÄ.
>
> ¾Í¸úÄã×°ÁËlinuxµÄÄÚºË,µ«ÊÇÒª±àÒëһЩ¶¯Ð´µÄʱºò»¹ÒªÔÙ×°Äں˵ÄÍ·Îļþ²î²»¶à
>
> >
> >         2006/12/2, fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com>
> >         <fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com>>:
> >
> >             Íõ־ΰ wrote:
> >             > »·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
> >             > ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºó
> >             ÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
> >             > ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
> >             > ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â
> >             ¾ö°ì·¨
> >             > GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸
> >             µã£¡¶àл
> >             >
> >             > --
> >             > Best regard!
> >             > Yours windtake!
> >             >
> ------------------------------------------------------------------------
> >             Äã×°ÁËpythonµÄ°ü,µ«ÊǺÃÏñûÓÐ×°python-devµÄ°ü,apt-cache
> >             searchÒ»ÏÂpython-dev
> >
> >             _______________________________________________
> >             python-chinese
> >             Post: send python-chinese在lists.python.cn
> >             python-chinese在lists.python.cn>
> >             Subscribe: send subscribe to
> >             python-chinese-request在lists.python.cn
> >             python-chinese-request在lists.python.cn>
> >             Unsubscribe: send unsubscribe to
> >             python-chinese-request在lists.python.cn
> >             python-chinese-request在lists.python.cn>
> >             Detail Info:
> >             http://python.cn/mailman/listinfo/python-chinese
> >             <http://python.cn/mailman/listinfo/python-chinese>
> >
> >
> >
> >
> >         --
> >         Best regard!
> >         Yours windtake!
> >
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/f5726051/attachment.htm 

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

2006年12月02日 星期六 17:46

王志伟 windtake在gmail.com
星期六 十二月 2 17:46:33 HKT 2006

Ö´ÐÐÕâÌõ£ºsudo apt-get install python-mysqldb¾ÍokayÁË£¬·Ç³£¸Ðл£¡
Îʸö²»ÊÇpythonµÄÎÊÌ⣬ΪʲôÎÒÓÃrootÖ´ÐÐapt-get install python-mysqldb¾Í²»ÐУ¬¶øÒªÓÃsudoÄØ£¿
»¹ÓйØÓÚpython-devÎÒÒ²Ã÷°×´ó¸Å£¬×Ô¼ºÔÙÈ¥²éÏÂ×ÊÁÏ£¬¶àл£¡

ÔÚ06-12-2£¬Zu Zhihui <zuzhihui在gmail.com> дµÀ£º
>
> sudo apt-get install python-mysqldb
>
> 2006/12/2, fdu.xiaojf在gmail.com <fdu.xiaojf在gmail.com>:
> >
> > Íõ־ΰ wrote:
> > > ÔËÐÐ apt-get install python-mysqldbºó»áÌáʾ£º
> > > E: ÎÞ·¨»ñµÃËø /var/cache/apt/archives/lock - open (11 Resource
> > > temporarily unavailable)
> > > E: ÎÞ·¨¶ÔÏÂÔØĿ¼¼ÓËø
> > > ÎÒÓÃrootÓû§Ö´ÐУ¬»¹ÊÇ»áÌáʾÕâÑùµÄÎÊÌâ
> > Õâ¸öÒ»°ãÊÇÁíÍâÒ»¸öroot½ø³ÌÔÚʹÓÃaptitudeÖ®ÀàµÄ°ü¹ÜÀí¹¤¾ß
> > > ÔÚ06-12-2£¬* Zu Zhihui* <zuzhihui在gmail.com
> > > zuzhihui在gmail.com>> дµÀ£º
> > >
> > >     ÔËÐÐ
> > >     apt-get install python-mysqldb
> > >     ÊÔÊÔ¿´ÄÜ·ñ¿ÉÒÔ
> > >
> > >
> > >     ÔÚ06-12-2£¬*Íõ־ΰ* < windtake在gmail.com
> > >     windtake在gmail.com>> дµÀ£º
> > >
> > >         Ö´Ðк󿴵½ÒÔÏÂÐÅÏ¢£º
> > >         libboost-python-dev - Boost.Python Library development files
> > >         python-dev - Header files and a static library for Python
> > >         (default)
> > >         ²»¹ý²»¶®Ê²Ã´Òâ˼£¬ºÇºÇ£¬ÇëÖ¸½Ì¡£Ð»Ð»£¡
> > >
> > python-dev,Õâ¸öÀïÃæÊÇpythonµÄÍ·Îļþ
> >
> > debianºÍubuntuÀïÃæµÄpython°ü²»°üº¬python-devµÄ.
> >
> > ¾Í¸úÄã×°ÁËlinuxµÄÄÚºË,µ«ÊÇÒª±àÒëһЩ¶¯Ð´µÄʱºò»¹ÒªÔÙ×°Äں˵ÄÍ·Îļþ²î²»¶à
> >
> > >
> > >         2006/12/2, fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com>
> > >         <fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com>>:
> > >
> > >             Íõ־ΰ wrote:
> > >             > »·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
> > >             > ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºó
> > >             ÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
> > >             > ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
> > >             > ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â
> > >             ¾ö°ì·¨
> > >             > GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸
> > >             µã£¡¶àл
> > >             >
> > >             > --
> > >             > Best regard!
> > >             > Yours windtake!
> > >             >
> > ------------------------------------------------------------------------
> > >             Äã×°ÁËpythonµÄ°ü,µ«ÊǺÃÏñûÓÐ×°python-devµÄ°ü,apt-cache
> > >             searchÒ»ÏÂpython-dev
> > >
> > >             _______________________________________________
> > >             python-chinese
> > >             Post: send python-chinese在lists.python.cn
> > >             python-chinese在lists.python.cn>
> > >             Subscribe: send subscribe to
> > >             python-chinese-request在lists.python.cn
> > >             python-chinese-request在lists.python.cn>
> > >             Unsubscribe: send unsubscribe to
> > >             python-chinese-request在lists.python.cn
> > >             python-chinese-request在lists.python.cn>
> > >             Detail Info:
> > >             http://python.cn/mailman/listinfo/python-chinese
> > >             <http://python.cn/mailman/listinfo/python-chinese >
> > >
> > >
> > >
> > >
> > >         --
> > >         Best regard!
> > >         Yours windtake!
> > >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



-- 
Best regard!
Yours windtake!
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/4a07d009/attachment.htm 

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

2006年12月02日 星期六 18:23

Zu Zhihui zuzhihui在gmail.com
星期六 十二月 2 18:23:22 HKT 2006

ÔÚ06-12-2£¬Íõ־ΰ <windtake在gmail.com> дµÀ£º
>
> Ö´ÐÐÕâÌõ£ºsudo apt-get install python-mysqldb¾ÍokayÁË£¬·Ç³£¸Ðл£¡
> Îʸö²»ÊÇpythonµÄÎÊÌ⣬ΪʲôÎÒÓÃrootÖ´ÐÐapt-get install python-mysqldb¾Í²»ÐУ¬¶øÒªÓÃsudoÄØ£¿


rootÖ´ÐкÍsudoÖ´Ðж¼Ó¦¸ÃÄܳɹ¦¡£

»¹ÓйØÓÚpython-devÎÒÒ²Ã÷°×´ó¸Å£¬×Ô¼ºÔÙÈ¥²éÏÂ×ÊÁÏ£¬¶àл£¡
>
> ÔÚ06-12-2£¬ Zu Zhihui <zuzhihui在gmail.com> дµÀ£º
> >
> > sudo apt-get install python-mysqldb
> >
> > 2006/12/2, fdu.xiaojf在gmail.com < fdu.xiaojf在gmail.com>:
> > >
> > > Íõ־ΰ wrote:
> > > > ÔËÐÐ apt-get install python-mysqldbºó»áÌáʾ£º
> > > > E: ÎÞ·¨»ñµÃËø /var/cache/apt/archives/lock - open (11 Resource
> > > > temporarily unavailable)
> > > > E: ÎÞ·¨¶ÔÏÂÔØĿ¼¼ÓËø
> > > > ÎÒÓÃrootÓû§Ö´ÐУ¬»¹ÊÇ»áÌáʾÕâÑùµÄÎÊÌâ
> > > Õâ¸öÒ»°ãÊÇÁíÍâÒ»¸öroot½ø³ÌÔÚʹÓÃaptitudeÖ®ÀàµÄ°ü¹ÜÀí¹¤¾ß
> > > > ÔÚ06-12-2£¬* Zu Zhihui* < zuzhihui在gmail.com
> > > > zuzhihui在gmail.com>> дµÀ£º
> > > >
> > > >     ÔËÐÐ
> > > >     apt-get install python-mysqldb
> > > >     ÊÔÊÔ¿´ÄÜ·ñ¿ÉÒÔ
> > > >
> > > >
> > > >     ÔÚ06-12-2£¬*Íõ־ΰ* < windtake在gmail.com
> > > >     windtake在gmail.com>> дµÀ£º
> > > >
> > > >         Ö´Ðк󿴵½ÒÔÏÂÐÅÏ¢£º
> > > >         libboost-python-dev - Boost.Python Library development files
> > >
> > > >         python-dev - Header files and a static library for Python
> > > >         (default)
> > > >         ²»¹ý²»¶®Ê²Ã´Òâ˼£¬ºÇºÇ£¬ÇëÖ¸½Ì¡£Ð»Ð»£¡
> > > >
> > > python-dev,Õâ¸öÀïÃæÊÇpythonµÄÍ·Îļþ
> > >
> > > debianºÍubuntuÀïÃæµÄpython°ü²»°üº¬python-devµÄ.
> > >
> > > ¾Í¸úÄã×°ÁËlinuxµÄÄÚºË,µ«ÊÇÒª±àÒëһЩ¶¯Ð´µÄʱºò»¹ÒªÔÙ×°Äں˵ÄÍ·Îļþ²î²»¶à
> > >
> > > >
> > > >         2006/12/2, fdu.xiaojf在gmail.com > > > fdu.xiaojf在gmail.com>
> > > >         <fdu.xiaojf在gmail.com fdu.xiaojf在gmail.com>>:
> > > >
> > > >             Íõ־ΰ wrote:
> > > >             > »·¾³£ºubuntu 6.10 £« python 2.4 + MySQL 5.0
> > > >             > ÔÚ°²×°MySQL-pythonµÄʱºò×ÜÊǻᱨ´í˵ÕÒ²»µ½python.h£¬È»ºó
> > > >             ÓÖ±¨³öÒ»¶ÔµÄ´íÎó¡£
> > > >             > ÎÒÏëÊÇsite.cfgûÓÐÅäÖúûòÔõôÑù£¬Çë´ó¼Ò¸øÄãʵÀý¡£Ð»Ð»£¡
> > > >             > ÓÉÓÚpythonºÍubuntu¶¼ÊǸողſªÊ¼Ñ§Ï°£¬ÕÒÀ´ÕÒÈ¥¶¼ÕÒ²»µ½½â
> > > >             ¾ö°ì·¨
> > > >             > GoogleºÍubuntuµÄforum¶¼ÕÒ¹ý¶¼Ã»ÓÐÕÒµ½°ì·¨²ÅÂé·³´ó¼Ò£¬ÇëÖ¸
> > > >             µã£¡¶àл
> > > >             >
> > > >             > --
> > > >             > Best regard!
> > > >             > Yours windtake!
> > > >             >
> > > ------------------------------------------------------------------------
> > > >             Äã×°ÁËpythonµÄ°ü,µ«ÊǺÃÏñûÓÐ×°python-devµÄ°ü,apt-cache
> > > >             searchÒ»ÏÂpython-dev
> > > >
> > > >             _______________________________________________
> > > >             python-chinese
> > > >             Post: send python-chinese在lists.python.cn
> > > >             python-chinese在lists.python.cn>
> > > >             Subscribe: send subscribe to
> > > >             python-chinese-request在lists.python.cn
> > > >             python-chinese-request在lists.python.cn>
> > > >             Unsubscribe: send unsubscribe to
> > > >             python-chinese-request在lists.python.cn
> > > >             python-chinese-request在lists.python.cn >
> > > >             Detail Info:
> > > >             http://python.cn/mailman/listinfo/python-chinese
> > > >             < http://python.cn/mailman/listinfo/python-chinese >
> > > >
> > > >
> > > >
> > > >
> > > >         --
> > > >         Best regard!
> > > >         Yours windtake!
> > > >
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
>
> --
> Best regard!
> Yours windtake!
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20061202/4d5d3b6b/attachment.html 

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号