Thank for very much, and sorry for I didn't provide enough
information.

1. Python 2.7
2. Windows XP
3. No Cygwin, or other similar environment. But I installed "visual c+
+ express edition 2008"
4. The python is installed from: 
http://www.python.org/ftp/python/2.7/python-2.7.msi
5. I followed
     
http://www.turbogears.org/2.0/docs/main/DownloadInstall.html#installing-turbogears
   to install turbogears. I didn't choose:
     easy_install -i http://www.turbogears.org/2.0/downloads/current/index
tg.devtools
   just because it uses an old sqlalchemy version(0.5?) and
pylons(0.97?), but I used to work with sqlalchemy 0.6 and pylons 1.0

   So I installed the Development Version of Turbogears 2 from the svn
        svn co http://svn.turbogears.org/projects/tg.devtools/trunk
tgdevtools
        svn co http://svn.turbogears.org/trunk tg2
   just as the document said
6. I used virtualenv

Just now, I found the reason: It because of the version of pylons and
routes.

As I installed with the lastest code from svn, it installed the
lastest pylons version(1.0) and route(1.12.3). I just downgrade them
to 0.9.7 and 1.11, then restart, everything is OK now.

I think the reason is turbogears is not work well with pylons 1.0(or
routes 1.12?)


On 9月12日, 上午12时17分, Michael Pedersen <[email protected]> wrote:
> You're on some variety of Windows. Your site-packages has been hosed by not
> following the directions that are spelled out 
> herehttp://www.turbogears.org/2.0/docs/main/DownloadInstall.html#installi...
>
> Looking at the commands you listed above, something is not making much
> sense. You list the commands you ran as follows:
>
> ------------------
>  (tg2dev)$ svn 
> cohttp://svn.turbogears.org/projects/tg.devtools/trunktgdevtools
>    (tg2dev)$ svn cohttp://svn.turbogears.org/trunktg2
> ------------------
>
> That $ in the command line prompt is usually only seen on Linux and UNIX
> like systems. Are you using Cygwin, maybe, or some other command line shell
> providing you with a UNIX-ish shell?
>
> Also, to get to the real heart of the matter: Why are you checking out the
> code from svn? TG2.0.3 is available via easy_install (though you do need to
> follow some specific directions, and they can vary slightly depending on the
> version of Python you are using).
>
> So, the following questions need to be answered:
>
>    1. What version of Python are you using?
>    2. Which OS (and version of that OS) are you using?
>    3. If on Windows, are you using some sort of Cygwin environment?
>    4. If so, are you actually using the Python from that environment,
>    instead of the system wide Python you would have downloaded and installed
>    fromhttp://www.python.org/download/?
>    5. Why are you checking out code, as opposed to using easy_install?
>    (depending on your reason, you may be better served by working with TG2.1,
>    or by using the easy_install of 2.0)
>    6. Judging from the directory listing you provided, you either have done
>    no other Python package installations, or you were using a virtualenv. 
> Which
>    of these is true? Emptying out the site-packages varies slightly depending
>    on which answer you provide.
>
> Once we have those questions answered, we can go ahead and work on getting
> you the help you need.
>
> --
> Michael J. Pedersen
> My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
>           Yahoo/pedermj2002, MSN/[email protected]

-- 
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