在 Windows 7 上安装 TurboGears
我尝试使用 tgsetup.py 在 Windows 7 上安装 TurboGears 1.0。并出现以下错误
error: Couldn't find a setup script in c:\users\sandre~1\appdata\local\temp\
easy_install-jimbkt\Cheetah-2.4.0.linux-i686.tar.gz
当查看此文件夹时,我看到 easy_install-jimbkt 文件夹立即出现和消失。 Windows 7 就是这么做的吗?有人知道它的解决方法吗?我无法使用较新版本的 TG(实际上安装得很好),因为我必须支持用 TG 1.0 编写的项目
I tried installing TurboGears 1.0 on Windows 7 using tgsetup.py. and got following error
error: Couldn't find a setup script in c:\users\sandre~1\appdata\local\temp\
easy_install-jimbkt\Cheetah-2.4.0.linux-i686.tar.gz
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来它正在尝试安装 Cheetah 的 Linux 二进制文件,这肯定无法在 Windows 上运行。为了让这块拼图在 Windows 中运行,您可以使用以下命令下载并安装源版本(我假设您已经安装并运行了 Python 和 setuptools):
不过,我不知道 TurboGears 1.0 的内容。 .. 但是,此处提供了 Windows 安装说明(但您可能已经知道了)。
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):
I dunno about the TurboGears 1.0 stuff, though... However, instructions for Windows installation are available here (but you probably knew that already).