Hi Stas,

Unfortunately, Fabric is only compatible with Python 2.5 and up (due
to using some new Python features in 2.5,) so 2.4 is not supported :(

It's possible to get Python 2.5 on CentOS, but it usually involves
building from source (though there are some i386 RPMs for 2.5 floating
around) so unsure if that's worth it in your case.

Best of luck,
Jeff


On Tue, Feb 9, 2010 at 5:26 PM, Stas Oskin <stas.os...@gmail.com> wrote:
> Hi.
>
> I'm trying to launch my first examples with Fabric, but getting the
> following errors:
>
> Traceback (most recent call last):
>   File "/usr/bin/fab", line 7, in ?
>     sys.exit(
>   File
> "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
> line 277, in load_entry_point
>     return get_distribution(dist).load_entry_point(group, name)
>   File
> "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
> line 2179, in load_entry_point
>     return ep.load()
>   File
> "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
> line 1912, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File
> "/usr/lib/python2.4/site-packages/Fabric-0.9.0-py2.4.egg/fabric/main.py",
> line 439
>     finally:
>           ^
> SyntaxError: invalid syntax
>
> I've installed Fabric via easy_install on CentOS, and using the python
> version: Python 2.4.3 (#1, Sep  3 2009, 15:37:37)
>
> Thanks in advance!
>
> _______________________________________________
> Fab-user mailing list
> Fab-user@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby developer
http://bitprophet.org


_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to