Lee McFadden wrote:
> This is because the eggs are built against python 2.4. Things like
> cElementTree need to be recompiled to work. On a *nix system this
> isn't a big deal because the tools to compile software are readily
> available.
>
> Having never compiled any python modules on windows before I can't
> really help you much further, but I hope that I've at least pointed
> you in the right direction.
>
> Lee
>
> On 8/21/06, Luigi Pantano <[EMAIL PROTECTED]> wrote:
> >
> > Software:
> > Windows XP sp2
> > Python 2.5.c1
> > Turbogears (any version)
> >
> > Problem:
> > ...
> > error: Setup script exited with error: Python was built with Visual Studio
> > 2003;
> >
> > extensions must be built with a compiler than can generate compatible
> > binaries.
> > Visual Studio 2003 was not found on this system. If you have Cygwin
> > installed,
> > you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
> > ...
> >
> > If try to install on python 2.4, this error disappear. why?
> >
> > --
> > Luigi Pantano
> > ---------------------------------------------------------------------------
> > AICQ - Associazione Italiana Cultura Qualità : http://www.aicq.it/aicqsi.html
> > AIN - Associazione Informatici Nisseni: http://www.informaticinisseni.org/
> > b0rnfr33th1nk3r - sito personale: http://b0rnfr33th1nk3r.objectis.net/
> > Clug: http://caltanissetta.linux.it
> > IPUG - Italian Python User Group: http://www.italianpug.org
> > Misado's (C) LAB: http://misadoslab.trouge.net/
> > Python Tips & Tricks: http://py-tips-tricks.python-hosting.com/
> > ---------------------------------------------------------------------------
> > Ubuntu User number is # 179
> > ---------------------------------------------------------------------------
> >
> > >
> >
>
>
> --
> Lee McFadden
>
> blog: http://www.splee.co.uk
> work: http://fireflisystems.com
Even if you did manage to assemble/compile all required pieces there is
still no cigar at the end.
I have managed to gather all eggs but despite that RuleDispatch fails
with an ugly traceback. Try to debug that :-):
C:\gnu\src\turbogears>toolbox-start.py
C:\python\Python25\lib\site-packages\simplejson-1.4-py2.5.egg\simplejson\scanner.py:6:
DeprecationWarning: The sre module is deprecated, please import re.
from sre import VERBOSE, MULTILINE, DOTALL
Traceback (most recent call last):
File "C:\gnu\src\turbogears\toolbox-start.py", line 9, in <module>
from turbogears import toolbox
File "c:\gnu\src\turbogears\turbogears\__init__.py", line 6, in
<module>
from turbogears.controllers import expose, flash, validate,
redirect, \
File "C:\gnu\src\turbogears\turbogears\controllers.py", line 14, in
<module>
from turbogears import view, database, errorhandling
File "C:\gnu\src\turbogears\turbogears\view\__init__.py", line 1, in
<module>
from turbogears.view.base import *
File "C:\gnu\src\turbogears\turbogears\view\base.py", line 17, in
<module>
from turbogears.i18n import i18n_filter, get_locale
File "C:\gnu\src\turbogears\turbogears\i18n\__init__.py", line 5, in
<module>
from turbogears.i18n.tg_gettext import gettext, ngettext, install,
is_locale_supported, \
File "C:\gnu\src\turbogears\turbogears\i18n\tg_gettext.py", line 4,
in <module>
from turbojson.jsonify import jsonify
File
"C:\python\Python25\lib\site-packages\turbojson-0.9.9-py2.5.egg\turbojson\jsonify.py",
line 27, in <module>
'isinstance(obj, datetime.datetime) or '
File
"c:\python\python25\lib\site-packages\ruledispatch-0.5a0.dev_r2115-py2.5-win32.egg\dispatch\functions.py",
line 690, in when
return self._decorate(cond)
File
"c:\python\python25\lib\site-packages\ruledispatch-0.5a0.dev_r2115-py2.5-win32.egg\dispatch\functions.py",
line 577, in _decorate
cond = self.parseRule(cond,frame=frame) or cond
File "<string>", line 10, in parseRule
File
"c:\python\python25\lib\site-packages\ruledispatch-0.5a0.dev_r2115-py2.5-win32.egg\dispatch\functions.py",
line 440, in parseRule
return self.parse(rule, frame.f_locals, frame.f_globals)
File
"c:\python\python25\lib\site-packages\ruledispatch-0.5a0.dev_r2115-py2.5-win32.egg\dispatch\functions.py",
line 326, in parse
return parse_expr(expr_string,builder)
File
"C:\python\Python25\lib\site-packages\ruledispatch-0.5a0.dev_r2115-py2.5-win32.egg\dispatch\ast_builder.py",
line 383, in parse_expr
return build(builder, parser.expr(expr).totuple(1)[1])
File
"C:\python\Python25\lib\site-packages\ruledispatch-0.5a0.dev_r2115-py2.5-win32.egg\dispatch\ast_builder.py",
line 378, in build
return production[nodelist[0]](builder,nodelist)
KeyError: 304
C:\gnu\src\turbogears>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---