[Python] Github workflow for pip fails because Python version is not found

Discussão em 'Python' iniciado por Stack, Janeiro 27, 2025.

  1. Stack

    Stack Membro Participativo

    My Github workflow fails to install Python 3.8.2 and shows the following error:

    Run actions/setup-python@v3
    with:
    python-version: 3.8.2
    token: ***
    Version 3.8.2 was not found in the local cache
    Error: Version 3.8.2 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


    If it helps, relevant parts of my workflow file is as follows:

    jobs:
    build:

    runs-on: ubuntu-latest
    strategy:
    fail-fast: false
    matrix:
    python-version: ["3.8.2"]

    steps:
    - uses: actions/checkout@v3
    - name: Set up Python ${{ matrix.python-version }}
    uses: actions/setup-python@v3
    with:
    python-version: ${{ matrix.python-version }}


    What am I missing? And how can I fix the error?

    I tried checking the URL in the error, however it shows that there are versions existing with the x64 architecture for darwin, linux and win32. So, I don't know if I am misunderstanding the error.

    Continue reading...

Compartilhe esta Página