【问题标题】:"Version string portion was too short or too long" - downloading Python for Windows 10 ARM64“版本字符串部分太短或太长” - 下载适用于 Windows 10 ARM64 的 Python
【发布时间】:2020-10-16 18:01:35
【问题描述】:

我不熟悉编码并尝试在我的 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]

为了更加清晰,这里是截图:

【问题讨论】:

    标签: python arm64


    【解决方案1】:

    想通了。我不需要创建 ARM64 版本的 Python; 32 位也可以。

    【讨论】:

      猜你喜欢
      • 2020-03-02
      • 1970-01-01
      • 1970-01-01
      • 2019-02-18
      • 2016-10-27
      • 2019-08-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多