“版本字符串部分太短或太长”-下载适用于Windows 10 ARM64的Python

问题描述

我不熟悉编码,因此尝试在Windows 10 ARM64笔记本电脑上下载并安装Python。 This is the guide I'm using.我被困在第3步,在那里我得到了:

C:\Users\Lauri\cpython>pcbuild\build.bat -p ARM64 --no-tkinter
Using py -3.8 (found 3.8 with py.exe)
Fetching external libraries...
bzip2-1.0.6 already exists,skipping.
sqlite-3.33.0.0 already exists,skipping.
xz-5.2.2 already exists,skipping.
zlib-1.2.11 already exists,skipping.
Fetching external binaries...
libffi already exists,skipping.
openssl-bin-1.1.1g already exists,skipping.
Finished.
Using "C:\windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"  (found in the PATH)

C:\Users\Lauri\cpython>"C:\windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"  "C:\Users\Lauri\cpython\PCbuild\pcbuild.proj" /t:Build /m /nologo /v:m /clp:summary /p:Configuration=Release /p:Platform=ARM64 /p:IncludeExternals=true /p:IncludeCTypes=true /p:IncludeSSL=true /p:IncludeTkinter=false /p:UseTestMarker= /p:GIT="C:\Program Files (x86)\Git\cmd\git.exe"
C:\Users\Lauri\cpython\PCbuild\python.props(111,31): error MSB4184: The expression "[System.Version]::Parse('')" cannot
 be evaluated. Version string portion was too short or too long. [C:\Users\Lauri\cpython\PCbuild\pythoncore.vcxproj]

C:\Users\Lauri\cpython\PCbuild\python.props(111,31): error MSB4184: The expression "[System.Version]::Parse('')" cannot
 be evaluated. Version string portion was too short or too long. [C:\Users\Lauri\cpython\PCbuild\pythoncore.vcxproj]

这里是一张截图,以提高清晰度:

here is a screenshot for extra clarity

解决方法

弄清楚了。我不需要创建ARM64版本的Python。 32位也可以。