Skip to content

The version '3.XX' with architecture 'x64' was not found for this operating system. #750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 6 tasks
finda-yeongjo opened this issue Oct 23, 2023 · 3 comments
Closed
2 of 6 tasks
Assignees
Labels
bug Something isn't working

Comments

@finda-yeongjo
Copy link

finda-yeongjo commented Oct 23, 2023

Description:

The module cannot be used on Amazon Linux self-hosted runner.

Action version:

Current runner version: '2.304.0'

/etc/amazon-linux-release:Amazon Linux release 2023 (Amazon Linux)
/etc/os-release:NAME="Amazon Linux"
/etc/os-release:VERSION="2023"
/etc/os-release:ID="amzn"
/etc/os-release:ID_LIKE="fedora"
/etc/os-release:VERSION_ID="2023"
/etc/os-release:PLATFORM_ID="platform:al2023"
/etc/os-release:PRETTY_NAME="Amazon Linux 2023"
/etc/os-release:ANSI_COLOR="0;33"
/etc/os-release:CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
/etc/os-release:HOME_URL="https://aws.amazon.com/linux/"
/etc/os-release:BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
/etc/os-release:SUPPORT_END="2028-03-01"
/etc/system-release:Amazon Linux release 2023 (Amazon Linux)

Platform:

  • AmazonLinux
  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

Any Python3.XX version

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

jobs:
  build:
    runs-on: self-hosted
    steps:
      - name: Configure AWS Credentials
        uses: aws-actions/configure-aws-credentials@v2
        with:
          aws-region: ap-northeast-2

      - uses: actions/checkout@v3

      - uses: actions/setup-python@v4
        with:
          python-version: "3.12"  #All versions from 3.6 to 3.13 are not the same.
          cache: "pip"

      - name: test
        run: |
          mkdir test
          pip install -t test requests

Expected behavior:
successful pip install

Actual behavior:

Run actions/setup-python@v4
Installed versions
  Version 3.12 was not found in the local cache
  Error: The version '3.12' with architecture 'x64' was not found for this operating system.
  The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
@finda-yeongjo finda-yeongjo added bug Something isn't working needs triage labels Oct 23, 2023
@dmitry-shibanov dmitry-shibanov self-assigned this Oct 23, 2023
@dmitry-shibanov
Copy link
Contributor

Hello @finda-yeongjo. Thank you for your report. I think it is an expected behaviour because Python versions 3.x was built for Ubuntu 18.04 - 22.04 that is why the action can't find the proper version.

I'm going to close the issue because for now it is an expected behaviour and we have feature requests to add support for different distributions and architectures.

@dmitry-shibanov dmitry-shibanov closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
@kishaningithub
Copy link

@dmitry-shibanov Can you point towards where the feature request to support other linux flavours like amazon linux exists?

@kishaningithub
Copy link

I think i found it #460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants