#3 undefined symbol PyDescr_IsData

closed
nobody
5
2003-04-25
2003-04-24
Anonymous
No

after installing psyco and executing every test program included with
psyco i get:

Traceback (most recent call last):
File "input-basetexts.py", line 2, in ?
import sys, uu, psyco
File "/usr/local/lib/python2.3/psyco/__init__.py", line 26, in ?
File "/usr/local/lib/python2.3/psyco/support.py", line 12, in ?
ImportError: /usr/local/lib/python2.3/site-packages/psyco/_psyco.so:
undefined symbol: PyDescr_IsData
child process returned 1, 0

any ideas?
toshio@o2.pl

Discussion

  • Armin Rigo

    Armin Rigo - 2003-04-25

    Logged In: YES
    user_id=4771

    It is a Python version mismatch: you are trying to use with
    Python 2.3 a Psyco compiled for Python 2.2.

    There is no precompiled binary for Python 2.3; you must
    compile your own (which is not difficult, btw). I will
    provide a precompiled 2.3 package when a beta version of
    Python 2.3 is released. Until then, compiling yourself is
    the best thing to do anyway to get something that matches
    your particular 2.3 installation.

     
  • Armin Rigo

    Armin Rigo - 2003-04-25
    • status: open --> closed
     

Log in to post a comment.