[Distutils] [TurboGears] hardcoded paths in tg-admin.exe and easy_install.exe?
Ian Bicking
ianb at colorstudy.com
Wed Nov 16 05:17:32 CET 2005
rtilley at vt.edu wrote:
> Perhaps this has been mentioned already. So, forgive me if it has.
>
> I install Python into 'C:/Program Files/Python24' as I do not like to
> clutter up the C:/ portion of my file system. After installing
> turbogears and trying to begin the tutorial, I get the below error when
> I do this 'tg-admin quickstart':
>
> Program: can't open file 'Files\Python24\python.exe' : [Error 2] No
> such file or directory
>
> The same thing happens when I try to run easy_install.exe
>
> The .py versions of tg-admin and easy_install work fine... it's just
> the .exe versions that crash. I have named this the 'hard-coded python
> path bug'.
>
> Is this a know issue that will be fixed?
>
> Also, the instructions about adding 'C:\Python24' and
> 'C:\Python24\Scripts' to the PATH variable should be adjusted to
> wherever the user has actually installed Python ;)
Sounds like a bug in .exe generator that it doesn't like spaces.
--
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list