FAQ
Hi All,

I have upgraded python v2.5.2 from python v2.4.3. The upgradation results
into following error:
"Python C API version mismatch for module dbi: This Python has API version
1013, module dbi has version 1012."

Please suggest, how to resolve this error to proceed further.

Regards,
Pradeep Rai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-list/attachments/20080331/8cd906a6/attachment.htm

Search Discussions

  • Steve Holden at Mar 31, 2008 at 10:35 am

    Pradeep Rai wrote:
    Hi All,

    I have upgraded python v2.5.2 from python v2.4.3. The upgradation
    results into following error:
    "Python C API version mismatch for module dbi: This Python has API
    version 1013, module dbi has version 1012."

    Please suggest, how to resolve this error to proceed further.

    Regards,
    Pradeep Rai
    Don't try and drag 2.4 extension modules into the 2.5 environemnt. You
    will have to install a 2.5 version of dbi for it to work.

    regards
    Steve
    --
    Steve Holden +1 571 484 6266 +1 800 494 3119
    Holden Web LLC http://www.holdenweb.com/
  • Jeroen Ruigrok van der Werven at Mar 31, 2008 at 10:39 am

    -On [20080331 12:29], Pradeep Rai (pradiprai at gmail.com) wrote:
    I have upgraded python v2.5.2 from python v2.4.3. The upgradation results into
    following error:
    "Python C API version mismatch for module dbi: This Python has API version
    1013, module dbi has version 1012."
    Did you copy everything from site-packages of the old one to the new one?

    --
    Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
    ????? ?????? ??? ?? ??????
    http://www.in-nomine.org/ | http://www.rangaku.org/
    If you're afraid of dyin', then you're holding on. You see devils tearing
    your life away. But if you have made your peace, then the devils are
    really angels, freeing you from the earth...
  • Pradeep Rai at Mar 31, 2008 at 10:47 am

    -On [20080331 12:29], Pradeep Rai (pradiprai at gmail.com) wrote:
    I have upgraded python v2.5.2 from python v2.4.3. The upgradation
    results into following error: "Python C API version mismatch for module
    dbi: This Python has API version 1013, module dbi has version 1012."
    Did you copy everything from site-packages of the old one to the new one?

    --

    Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai

    CF[ EtbN @ f EFF

    *http://www.in-nomine.org/* <http://www.in-nomine.org/> | *
    http://www.rangaku.org/* <http://www.rangaku.org/>

    If you're afraid of dyin', then you're holding on. You see devils tearing
    your life away. But if you have made your peace, then the devils are really
    angels, freeing you from the earth...
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://mail.python.org/pipermail/python-list/attachments/20080331/9e8284fa/attachment.htm
  • Pradeep Rai at Mar 31, 2008 at 10:49 am
    Yes, i have copied everything from site-packages of the old one to the new
    one.

    Regards,
    Pradeep

    -On [20080331 12:29], Pradeep Rai (pradiprai at gmail.com) wrote:
    I have upgraded python v2.5.2 from python v2.4.3. The upgradation
    results into following error: "Python C API version mismatch for module
    dbi: This Python has API version 1013, module dbi has version 1012."
    Did you copy everything from site-packages of the old one to the new one?

    --

    Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai

    CF[ EtbN @ f EFF

    *http://www.in-nomine.org/* <http://www.in-nomine.org/> | *
    http://www.rangaku.org/* <http://www.rangaku.org/>

    If you're afraid of dyin', then you're holding on. You see devils tearing
    your life away. But if you have made your peace, then the devils are really
    angels, freeing you from the earth...
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://mail.python.org/pipermail/python-list/attachments/20080331/c7dc9f3a/attachment-0001.htm
  • Jeroen Ruigrok van der Werven at Mar 31, 2008 at 11:17 am

    -On [20080331 13:13], Pradeep Rai (pradiprai at gmail.com) wrote:
    Yes, i have copied everything from site-packages of the old one to the new
    one.
    Don't do that. :)
    site-packages is version dependent, you can get away with it with most
    Python-only modules, I guess, but with dbi you found out what can happen.

    --
    Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
    ????? ?????? ??? ?? ??????
    http://www.in-nomine.org/ | http://www.rangaku.org/
    The last word in a chronicle is never set down...
  • Pradeep Rai at Mar 31, 2008 at 10:53 am
    Hi Steve,

    Can you guide me how to install a 2.5 version of dbi for it to work ?

    Thanks !!

    Pradeep

    Pradeep Rai wrote:
    Hi All, >
    I have upgraded python v2.5.2 from python v2.4.3. The upgradation
    results into following error:
    "Python C API version mismatch for module dbi: This Python has API
    version 1013, module dbi has version 1012." >
    Please suggest, how to resolve this error to proceed further. >
    Regards,
    Pradeep Rai
    >

    >

    Don't try and drag 2.4 extension modules into the 2.5 environemnt. You

    will have to install a 2.5 version of dbi for it to work.

    regards

    Steve

    --

    Steve Holden +1 571 484 6266 +1 800 494 3119

    Holden Web LLC *http://www.holdenweb.com/* <http://www.holdenweb.com/>

    --

    *http://mail.python.org/mailman/listinfo/python-list*<http://mail.python.org/mailman/listinfo/python-list>
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://mail.python.org/pipermail/python-list/attachments/20080331/b7df6413/attachment.htm
  • Steve Holden at Mar 31, 2008 at 11:44 am
    No, sorry.

    regards
    Steve

    Pradeep Rai wrote:
    Hi Steve,

    Can you guide me how to install a 2.5 version of dbi for it to work ?

    Thanks !!

    Pradeep

    Pradeep Rai wrote:
    Hi All,

    I have upgraded python v2.5.2 from python v2.4.3. The upgradation
    results into following error:
    "Python C API version mismatch for module dbi: This Python has API
    version 1013, module dbi has version 1012."

    Please suggest, how to resolve this error to proceed further.

    Regards,
    Pradeep Rai

    Don't try and drag 2.4 extension modules into the 2.5 environemnt. You

    will have to install a 2.5 version of dbi for it to work.

    regards

    Steve

    --

    Steve Holden +1 571 484 6266 +1 800 494 3119

    Holden Web LLC

    _http://www.holdenweb.com/_

    --

    _http://mail.python.org/mailman/listinfo/python-list_

    --
    Steve Holden +1 571 484 6266 +1 800 494 3119
    Holden Web LLC http://www.holdenweb.com/
  • Jeroen Ruigrok van der Werven at Mar 31, 2008 at 11:57 am

    -On [20080331 12:56], Pradeep Rai (pradiprai at gmail.com) wrote:
    Can you guide me how to install a 2.5 version of dbi for it to work ?
    Same way you installed dbi for 2.4 just make sure the called python
    executable is the 2.5 one.


    --
    Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
    ????? ?????? ??? ?? ??????
    http://www.in-nomine.org/ | http://www.rangaku.org/
    Sometimes things stare us in the face and we are too blind to see...
  • Pradeep Rai at Mar 31, 2008 at 12:05 pm
    Thanks !!

    I will try do so.

    Regards,
    Pradeep

    -On [20080331 12:56], Pradeep Rai (pradiprai at gmail.com) wrote:
    Can you guide me how to install a 2.5 version of dbi for it to work ?
    Same way you installed dbi for 2.4 just make sure the called python
    executable is the 2.5 one.



    --

    Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai

    CF[ EtbN @ f EFF

    *http://www.in-nomine.org/* <http://www.in-nomine.org/> | *
    http://www.rangaku.org/* <http://www.rangaku.org/>

    Sometimes things stare us in the face and we are too blind to see...
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://mail.python.org/pipermail/python-list/attachments/20080331/bf88245c/attachment.htm

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedMar 31, '08 at 10:27a
activeMar 31, '08 at 12:05p
posts10
users3
websitepython.org

People

Translate

site design / logo © 2022 Grokbase