<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt"><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;">Hi Saul,<br><br>Thanks for your suggestion.<br><br>I installed python3.1, still doesnt work.<br><br>It's there any trick in Centos?<br><br>Regards,<br><br>Chris<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Saúl Ibarra Corretgé <saul@ag-projects.com><br><b><span style="font-weight: bold;">To:</span></b> OpenSIPS users mailling list <users@lists.opensips.org><br><b><span style="font-weight: bold;">Sent:</span></b> Sat, January 15, 2011 2:00:14 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] Fail to install Mediaproxy on Centos<br></font><br>On
01/15/2011 06:52 PM, Chris Liu wrote:<br>> Hi everyone,<br>><br>> I tried to install Mediaproxy on Centos, followed by the instruction<br>> <a href="http://kb.smartvox.co.uk/index.php/opensips/installing-mediaproxy-2-centos-5-64bit/" target="_blank">http://kb.smartvox.co.uk/index.php/opensips/installing-mediaproxy-2-centos-5-64bit/</a><br>><br>> But when I install the python-application, I met the error:<br>><br>> cd python-application-1.1.5<br>> ./setup.py build<br>> ./setup.py install<br>><br>> get error:<br>> byte-compiling<br>> /usr/lib/python2.4/site-packages/application/notification.py to<br>> notification.pyc<br>> File "/usr/lib/python2.4/site-packages/application/notification.py", line 63<br>> with cls.lock:<br>> ^<br>> SyntaxError: invalid syntax<br>> byte-compiling<br>> /usr/lib/python2.4/site-packages/application/log/extensions/twisted/twisted.py<br>> to twisted.pyc<br>>
SyntaxError: ('future feature absolute_import is not defined',)<br>> byte-compiling<br>> /usr/lib/python2.4/site-packages/application/log/extensions/twisted/__init__.py<br>> to __init__.pyc<br>> SyntaxError: ('future feature absolute_import is not defined',)<br>> byte-compiling<br>> /usr/lib/python2.4/site-packages/application/debug/memory.py to memory.pyc<br>> File "/usr/lib/python2.4/site-packages/application/debug/memory.py", line 79<br>> firstobj = cycle[0] if cycle else None<br>> ^<br>> SyntaxError: invalid syntax<br>><br>><br>> My OS version is: 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010<br>> x86_64 x86_64 x86_64 GNU/Linux<br>><br>> The python version is 2.4.3<br>><br><br>You'll need at least Python 2.5 to run latest MediaProxy.<br><br><br>-- <br>Saúl Ibarra Corretgé<br>AG Projects<br><br>_______________________________________________<br>Users mailing list<br><a
ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></div>
</div><br></body></html>