【问题标题】:How do I find which version of Python to use with Mercurial?如何找到与 Mercurial 一起使用的 Python 版本?
【发布时间】:2010-11-02 15:43:53
【问题描述】:

我读到here

在 Windows 上,您的 Python 版本必须与用于编译 Mercurial 的版本相匹配。否则,在尝试运行 CGI 时会出现“无效的幻数”错误。 Mercurial 1.0.x、1.1.x、1.2.x 和 1.3.x 的预编译 Windows 二进制文件是使用 Python 2.5 编译的。

我在网上查看,但我没有看到有关此信息的查找表。有谁知道我在哪里可以找到它?

【问题讨论】:

    标签: python windows mercurial versions


    【解决方案1】:

    如果您在 Windows 上,您想安装 TortoiseHG。它提供了完整的 mercurial 命令行、集成了 windows shell 的 gui,以及编译在一起的正确版本的 python。

    【讨论】:

    【解决方案2】:

    各种 HG 安装包的名称中都有所需的 Python 版本。您也可以在软件包的发行说明中查找它。

    HTH
    托马斯

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-09-12
    • 1970-01-01
    • 1970-01-01
    • 2020-08-20
    • 1970-01-01
    • 2011-09-18
    • 2015-08-11
    • 1970-01-01
    相关资源
    最近更新 更多