Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

actions/setup-python@v3 failing with Error: Version 3.8 with arch x64 not found

$
0
0

Here's my workflow:

name: My First GitHub Actionson: [push]jobs:  build:    runs-on: self-hosted    strategy:      matrix:        python-version: [3.8, 3.9]    steps:    - uses: actions/checkout@v3    - name: Set up Python      uses: actions/setup-python@v3      with:        python-version: ${{ matrix.python-version }}    - name: Install dependencies      run: |        python -m pip install --upgrade pip        pip install pytest    - name: Run tests      run: |        cd src        python -m pytest addition.py

But getting this error:

ubuntu@ip-172-31-16-175:~/actions-runner$ ./run.sh√ Connected to GitHubCurrent runner version: '2.316.1'2024-05-18 18:20:12Z: Listening for Jobs2024-05-18 18:20:15Z: Running job: build (3.8)2024-05-18 18:20:23Z: Job build (3.8) completed with result: Failed2024-05-18 18:20:24Z: Running job: build (3.9)2024-05-18 18:20:28Z: Job build (3.9) completed with result: Canceled

Logs are showing this error:

Version 3.8 was not found in the local cache:Error: Version 3.8 with arch x64 not found

Tried different Python versions but still getting the same error.

The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Can anyone please help me resolve these errors?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>