Juanqui wrote:
> Hey Guys,
>
> I recently installed TurboGears 2 on my server and I am having an
> issue when running the server. I get the following error when
> attempting to setup:
>
> SyntaxError: future feature absolute_import is not defined
>
> It appears the errors is due to the Beaker package. I have updated all
> the packages and I can't find the root of the problem.
>
> TurboGears2 is installed on my CentOS 5.4 server.
>
> Any suggestions?
> Thanks!
>   
absolute_import is only available on Python 2.5 or above.  Your CentOS
server is likely running Python 2.4 (standard for the platform).  The
syntax error should be part of a traceback that tells us which file is
doing this import, if you can tell us that, as well as what precise
version of TurboGears you are using, we should be able to track it
down.  The code that is using it likely shouldn't be doing so if it's
part of TurboGears itself, as Python 2.4 is still supported.  If you can
tell us *how* you installed that would likely also be useful; did you
use the RPM installer, or a virtualenv + easy_install installation?

HTH,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to