Hi Saul, Thanks for your suggestion.
I installed python3.1, still doesnt work. It's there any trick in Centos? Regards, Chris ________________________________ From: Saúl Ibarra Corretgé <[email protected]> To: OpenSIPS users mailling list <[email protected]> Sent: Sat, January 15, 2011 2:00:14 PM Subject: Re: [OpenSIPS-Users] Fail to install Mediaproxy on Centos 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 _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
