Am 13.08.2010 10:57 schrieb nio:
I'm new to TG and I'd like to install TG 1.1 on my xubuntu 10.04.
I've followed the documentation steps, I've installed easy_install,
virtualenv, activated my virtual_env, and then :
easy_install TurboGears
easy_install sqlalchemy
But when I try tg-amdin info, here's what I get :
from peak.rules import abstract, always_overrides, Method,
NoApplicableMethods
ImportError: cannot import name always_overrides
Hi Nicolas, sorry for your bad first impression.
The problem is not with not using virtualenv or the Python version. TG
1.1 should work fine without virtualenv (even though it's recommended)
and with Python 2.6. You've just chosen a bad day to try it out: The
problem is caused by an API change in peak_rules made by Philip Eby just
yesterday in r2660.
It seems this change also broke the prioritized_methods package which is
used by TurboJson.
So the best fix for the time being is to install an older peak_rules
version, e.g PEAK-Rules-0.5a1.dev-r2659.tar.gz which you can find here:
http://peak.telecommunity.com/snapshots/
I will adapt TG 1.1 and 1.5 today so that it works with the new
peak_rules packages and try to get prioritized fixed as well.
-- Christoph
--
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.