Trying tg-admin.exe from a different directory didn't work either, but
I learned that I *can* run the python script that is installed in the
same directory as tg-admin.exe. For example, this works:
--------------------- begin --------------------
C:\Program Files\turbogears>python "C:\Program Files\Python24\Scripts
\tg-admin-s
cript.py"
TurboGears 1.0.1 command line interface
Usage: C:\Program Files\Python24\Scripts\tg-admin-script.py [options]
<command>
...snip...
--------------------- end --------------------
So the question is: Why can't the tg-admin.exe program find python?
Based on the error message ("Cannot find Python executable C:\Program
"), my hunch is that it is stumped because the pathname contains
whitespace. So if I had installed python in C:\Python24, for example,
tg-admin.exe would be OK. I guess I can try that, but am I really the
first person to have this problem?
john
On Mar 24, 2:29 am, "gasolin" <[EMAIL PROTECTED]> wrote:
> It looks like a namespace confliction.
>
> try 'tg-admin info' in other path, such as C:\>tg-admin info
>
>
>
> > C:\Program Files\turbogears>tg-admin info
> > Cannot find Python executable C:\Program
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---