8

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.

I have Visual Studio Express installed and have tried to build Python from the source. So far I did this:

  • Downloaded the source from GitHub

  • run cpython\PCbuild\build.bat as suggested in the documentation (I see nothing saying how to build x64 bit)

  • Waited

When the build finishes I run python.exe and I get this:

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.
>>>

This Python is a x32 bit (due to v.1914 32 bit (Intel))

I looked in SpecialBuilds.txt and no luck there either.

How do I build Python as x64 bit?

3
  • 2
    build.bat -p x64. Run build.bat -h to list the options. The readme explains this. The devguide told you to read it. Commented Jul 6, 2018 at 20:17
  • @eryksun That was easier than I thought. How did I not find it? Could you please consider leaving an answer. Commented Jul 6, 2018 at 20:28
  • 3
    I'm glad I could help, but I think you should delete the question. This is a straight path from the devguide to the readme to the section on using build.bat to listing the options with build -h, which clearly shows how to target x64. If we have questions and answers for every straight path through a documented process, we'll drown in the noise of billions of questions. Commented Jul 6, 2018 at 20:36

1 Answer 1

13
build.bat -p x64

Run build.bat -h to list the options.

The README explains this. The devguide told you to read it.

- Answer in comments given by eryksun

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.