从源代码构建Python作为64bi

2024-04-27 01:06:33 发布

您现在位置:Python中文网/ 问答频道 /正文

I am assuming Python X.X (my case 3.8) has not yet been released and is therfore not compiled to download, and if I want to run a x64 bit version I need to compile it for myself.

我已经安装了visualstudioexpress并尝试从源代码构建Python。到目前为止我是这样做的:

  • 已从GitHub下载源文件

  • 按照建议运行cpython\PCbuild\build.batin the documentation(我没有看到任何关于如何构建x64位的内容)

  • 等待

当构建完成后,我运行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位?在


Tags: andtoformybitnotamyet