代码之家  ›  专栏  ›  技术社区  ›  Xantium

从源代码构建64位python

  •  1
  • Xantium  · 技术社区  · 6 年前

    我假设python x.x(我的case 3.8)还没有发布,也没有编译好下载,如果我想运行x64位版本,我需要自己编译它。

    我已经安装了visual studio express并尝试从源代码构建python。到目前为止我做到了:

    当构建完成时,我运行 python.exe 我明白了:

    Python 3.8.0a0 (heads/master:cac4fef886, Jun 16 2018, 12:39:58) [MSC v.1914 32 bit (Intel)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>>
    

    这个python是一个x32位(由于 v.1914 32 bit (Intel) )

    我往里看了看 SpecialBuilds.txt 也没有运气。

    如何将python构建为x64位?

    1 回复  |  直到 6 年前
        1
  •  2
  •   Simon    6 年前
    build.bat -p x64
    

    跑步 build.bat -h 列出选项。

    这个 README explains this .devguide让你读。

    -答复 eryksun