fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Getting SyntaxError: invalid syntax from fab


From: Jeff Forcier
Subject: Re: [Fab-user] Getting SyntaxError: invalid syntax from fab
Date: Wed, 10 Feb 2010 09:48:17 -0500

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 <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>



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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]