Python – Installing TurboGears on windows 7


I tried installing TurboGears 1.0 on Windows 7 using and got following error

error: Couldn't find a setup script in c:\users\sandre~1\appdata\local\temp\

When looking into this folder I see easy_install-jimbkt folder appearing and disappearing right away. Is this something Windows 7 does? Anybody know a walkaround for it? I can't use newer version of TG (which actually installs fine) because I have to support project written with TG 1.0

Best Solution

Looks like it's trying to install the Linux binaries of Cheetah, which definitely won't work on Windows. To get that piece of the puzzle to run in Windows, you can download and install the source version with the following command (I'll assume you already have Python and setuptools installed and working):

easy_install install

I dunno about the TurboGears 1.0 stuff, though... However, instructions for Windows installation are available here (but you probably knew that already).

Related Question