[OpenSIPS-Users] Fail to install Mediaproxy on Centos

Chris Liu cachris68 at yahoo.ca
Sat Jan 15 18:52:31 CET 2011


Hi everyone,

I tried to install Mediaproxy on Centos, followed by the instruction 
http://kb.smartvox.co.uk/index.php/opensips/installing-mediaproxy-2-centos-5-64bit/


But when I install the python-application, I met the error:

cd python-application-1.1.5
./setup.py build
./setup.py install

get error:
byte-compiling /usr/lib/python2.4/site-packages/application/notification.py to 
notification.pyc
  File "/usr/lib/python2.4/site-packages/application/notification.py", line 63
    with cls.lock:
           ^
SyntaxError: invalid syntax
byte-compiling 
/usr/lib/python2.4/site-packages/application/log/extensions/twisted/twisted.py 
to twisted.pyc
SyntaxError: ('future feature absolute_import is not defined',)
byte-compiling 
/usr/lib/python2.4/site-packages/application/log/extensions/twisted/__init__.py 
to __init__.pyc
SyntaxError: ('future feature absolute_import is not defined',)
byte-compiling /usr/lib/python2.4/site-packages/application/debug/memory.py to 
memory.pyc
  File "/usr/lib/python2.4/site-packages/application/debug/memory.py", line 79
    firstobj = cycle[0] if cycle else None
                         ^
SyntaxError: invalid syntax


My OS version is: 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 
x86_64 x86_64 GNU/Linux

The python version is 2.4.3

Any body can help me to find out the solution?

Thanks and regards,

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110115/cfe8759f/attachment.htm>


More information about the Users mailing list