ImportError: math.so: undefined symbol PyFPE_jbuf

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • çÌÏÔÏ× áÒÔÅÍ

    #1

    ImportError: math.so: undefined symbol PyFPE_jbuf

    Hello!

    I'm trying to install the web application written with Python, and have the trouble
    with module math.so:

    # lwp-request http://localhost/site/code/edit.py

    Mod_python error: "PythonHand ler edit::handler"

    Traceback (most recent call last):

    File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 181, in
    Dispatch
    module = import_module(m odule_name, _req)

    File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 335, in
    import_module
    module = imp.load_module (mname, f, p, d)

    File "/usr/local/apache/htdocs/site/code/edit.py", line 6, in ?
    from PPA.HTTP.CGI import Adapter

    File "/usr/local/lib/python2.3/site-packages/PPA/HTTP/CGI.py", line 3, in ?
    import Base

    File "/usr/local/lib/python2.3/site-packages/PPA/HTTP/Base.py", line 102, in ?
    class Response:

    File "/usr/local/lib/python2.3/site-packages/PPA/HTTP/Base.py", line 104, in
    Response
    from Errors import statusCodes

    File "/usr/local/lib/python2.3/site-packages/PPA/HTTP/Errors.py", line 3, in ?
    import cgi

    File "/usr/lib/python2.3/cgi.py", line 40, in ?
    import mimetools

    File "/usr/lib/python2.3/mimetools.py", line 6, in ?
    import tempfile

    File "/usr/lib/python2.3/tempfile.py", line 33, in ?
    from random import Random as _Random

    File "/usr/lib/python2.3/random.py", line 42, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e

    ImportError: /usr/lib/python2.3/lib-dynload/math.so: undefined symbol: PyFPE_jbuf

    I read similar topic at

    but did not find the solution :(

    Of cource I'm using apache 1.3.33, mod_python 2.7.11, ppa, qps, mx modules, but I
    thing that the problem is in the Python 2.3.5.

    Any ideas?
Working...