Fail2ban talk:Community Portal

From Fail2ban
Revision as of 16:46, 8 May 2007 by 66.247.200.156 (talk)
Jump to navigationJump to search

I am finding this error a few times on different scripts when installing on CentOS

byte-compiling /usr/share/fail2ban/server/mytime.py to mytime.pyc

 File "/usr/share/fail2ban/server/mytime.py", line 49
   @staticmethod
   ^

SyntaxError: invalid syntax

Any ideas


Are you sure that you have Python 2.4? Annotations are available since Python 2.4. --Lostcontrol 15:53, 8 May 2007 (CEST)


I got 2.4.3 root@usa2 [~]# python -V Python 2.4.3


I installed 2.5.1 and still the same problem.


Now it is working the version 0.6.2 installed from an RPM. I will try again 0.8.0 but later. Thanks