Skip to content

Setting up both python 3.14 and 3.14t on windows arm doesn't work #1241

@patrick91

Description

@patrick91

I've made a reproduction here: https://github.com/patrick91/python-314t-windows-arm64-repro/actions/runs/19098499344/job/54564398540

Basically when setting up both Python 3.14 and 3.14t on windows arm I get this error:

  Create Python 3.14.0 folder in C:\hostedtoolcache\windows\Python
  Copy Python binaries to C:\hostedtoolcache\windows\Python\3.14.0\arm64-freethreaded
  Install Python 3.14.0 in C:\hostedtoolcache\windows\Python...
  Error: Remove-Item : Cannot find path 'C:\hostedtoolcache\windows\Python\3.14.0\arm64-freethreaded\python.exe' because it
  Error: does not exist.
  At C:\a\_temp\277a5d9b-f2ff-4114-918b-228fa38fb5be\setup.ps1:131 char:5
  +     Remove-Item -Path "$PythonArchPath\python.exe" -Force
  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (C:\hostedtoolca...aded\python.exe:String) [Remove-Item], ItemNotFoundEx 
     ception
      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
  Error: New-Item : Cannot find path 'C:\hostedtoolcache\windows\Python\3.14.0\arm64-freethreaded\python3.14t.exe' because it
  Error: does not exist.
  At C:\a\_temp\277a5d9b-f2ff-4114-918b-228fa38fb5be\setup.ps1:132 char:5
  +     New-Item -Path "$PythonArchPath\python.exe" -ItemType SymbolicLin ...
  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (C:\hostedtoolca...python3.14t.exe:String) [New-Item], ItemNotFoundExcep
  Error: tion
  Error: + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand
  Create python3 symlink
  Error: New-Item : Cannot find path 'C:\hostedtoolcache\windows\Python\3.14.0\arm64-freethreaded\python.exe' because it does
  Error: not exist.
  At C:\a\_temp\277a5d9b-f2ff-4114-918b-228fa38fb5be\setup.ps1:136 char:1
  + New-Item -Path "$PythonArchPath\python3.exe" -ItemType SymbolicLink - ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (C:\hostedtoolca...aded\python.exe:String) [New-Item], ItemNotFoundExcep
  Error: tion
      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand
  Install and upgrade Pip
  Error: 'C:\hostedtoolcache\windows\Python\3.14.0\arm64-freethreaded\python.exe' is not recognized as an internal or external command,
  operable program or batch file.
  Error: Error happened during pip installation / upgrade
  At C:\a\_temp\277a5d9b-f2ff-4114-918b-228fa38fb5be\setup.ps1:143 char:5
  +     Throw "Error happened during pip installation / upgrade"
  Error: +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : OperationStopped: (Error happened ...ation / upgrade:String) [], RuntimeException
      + FullyQualifiedErrorId : Error happened during pip installation / upgrade
  Error: The process 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1

my workaround is to create two jobs for this so it's not a big deal, but just wanted to report it 😊

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions