Error: Version 3.9.11 with arch x64 not found

See original GitHub issue

Description: I’ve been using this action without an issue until a few days ago. Currently having this error while trying to setup Python 3.9.11. I have the same error with other Python versions.

Error: Version 3.9.11 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Saw this comment under another issue and it seems related https://github.com/actions/setup-python/issues/162#issuecomment-1312522561

Action version: actions/setup-python@v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.9.11 3.9.7

Repro steps:
A job that runs-on: ubuntu-latest. Using the action in a step as this

- name: Setup Python 
   id: setup-python
   uses: actions/setup-python@v4
   with:
     python-version: 3.9.11

Expected behavior: Sets up Python without an issue

Actual behavior: Receiving this error

Error: Version 3.9.11 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
bweisbergercommented, Dec 2, 2022

Can we re-open this issue? It seems like it’s still a bug if we now need to track ubuntu versions rather than referencing ubuntu-latest

2reactions
atayardimcicommented, Nov 14, 2022

Pinning the runner image version to ubuntu-20.04 resolved the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Version X with arch x64 not found #162 - GitHub
Describe the bug I am attempting to use setup-python with a self-hosted runner running on an ec2 instance.
Read more >
How do you add an unstable version of Python in a GitHub ...
The error was using 3.11 without further specification as 3.11 doesn't exist. This solves the issue: matrix: python-version: ["3.8", "3.9", ...
Read more >
Hynek Schlawack: "Oof, so the latest Linux image…" - Mastodon
Python 3.6 x64 on Linux: Error: Version 3.6 with arch x64 not found · Issue #544 · actions/setup-pythonGitHub.
Read more >
@hugovk@mastodon.social on Twitter: "And you can now ...
Is this a common problem? Does the architecture need to be specified to something other than x64? Error: Version 3.10 with arch x64...
Read more >
setup-python now supports dependency caching
You can now run workflows for Python projects faster on GitHub Actions by enabling dependency caching on the setup-python action. setup-python ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found