[OpenSIPS-Users] Fail to install Mediaproxy on Centos

Saúl Ibarra Corretgé saul at ag-projects.com
Sat Jan 15 20:00:14 CET 2011


On 01/15/2011 06:52 PM, Chris Liu wrote:
> 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
>

You'll need at least Python 2.5 to run latest MediaProxy.


-- 
Saúl Ibarra Corretgé
AG Projects



More information about the Users mailing list