在 Windows 7 上安装 TurboGears

发布于 2024-08-08 12:44:25 字数 346 浏览 2 评论 0原文

我尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忱杏 2024-08-15 12:44:25

看起来它正在尝试安装 Cheetah 的 Linux 二进制文件,这肯定无法在 Windows 上运行。为了让这块拼图在 Windows 中运行,您可以使用以下命令下载并安装源版本(我假设您已经安装并运行了 Python 和 setuptools):

easy_install install http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.0.tar.gz#md5=873f5440676355512f176fc4ac01011e

不过,我不知道 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):

easy_install install http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.0.tar.gz#md5=873f5440676355512f176fc4ac01011e

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文