
INSTALL PYTHON FOR VISUAL STUDIO MAC WINDOWS 10
However, for some reason, when building on Windows 10 on ARM, I get angry that "TCLSH_NATIVE is not set", so for the time being, I specified the x86 version of TclTk installed by NuGet when building python. Prepare a toolset environment for ARM64 as usual "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_arm64

If expanded normally, launch a command window at the folder locations. It seems that the above file on the Tcl side is also referenced when building Tk, and it seems that the Tk side does not need to be modified._cpuid(regsPtr, index) → /*_cpuid(regsPtr, index) */ Set ARM64 to MACHINE parameter on line 473Īlso, the cpuid function looks like an assembler, so I forcibly omitted it this time. It seems that the script does not support it, so I forcibly specified ARM64 this time. TclTk installed by NuGet at the time of this Python build was version 8.6.9, but I believe that the build is a little easier to pass ( Download tcl8610-src.zip and tk8610-src.zip from the download.html) site and extract them to your work location.

\ Cpython \ externals when building Python, but some external modules are not included for ARM64 and the build is skipped.Īmong them, I thought it would be a little lonely that tkinter (TclTk), which is a standard Python GUI module, could not be used, so I tried to build TclTk. It seems that NuGet installs various external modules under. Build Python3įor the time being, this time we will use the 3.8 series, which is the current Stable.Īlthough there are some ridiculous restrictions (described later), I was able to build quickly with the following command group.

](Https:///issue33125) I saw an exchange that seemed to be something I could do, so I decided to take on the challenge. I don't have much experience with Python myself, but I've seen it used occasionally as an OSS build aid script, so I thought it would be useful to make it native.
INSTALL PYTHON FOR VISUAL STUDIO MAC FOR WINDOWS 10
In the previous post, " Build 7-zip (19.00) for Windows 10 on ARM with Visual Studio 2019 (x86) on Windows 10 on ARM This time, I tried to build Python3.
