Skip to content
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

[BUG] Error: Version 3.10.0 with arch x64 not found #274

Open
gitleye opened this issue Feb 10, 2024 · 4 comments
Open

[BUG] Error: Version 3.10.0 with arch x64 not found #274

gitleye opened this issue Feb 10, 2024 · 4 comments

Comments

@gitleye
Copy link

gitleye commented Feb 10, 2024

hey team,

when I ran the command git push --set-upstream origin "add-auto-tests" while following the instructions on the codeacademy - https://www.codecademy.com/courses/learn-git/articles/github-actions-tutorial-on-automated-testing

my GitHub actions returned the error message Error: Version 3.10.0 with arch x64 not found attached.
Screenshot 2024-02-10 at 1 02 39 PM

if the python-version on the unittests.yaml file could be updated to a version that's currently available in the following [library][https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json], that would be greatly appreciated.

thank you

contents of unittests.yaml file in add-automated-tests-off-platform-project/.github/workflows/unittests.yaml

name: Continuous Integration
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.10.0
          architecture: x64
      - name: Install dependencies
        run: pip install -r requirements.txt 
      - name: Run Tests
        run: python -m pytest
@kylestarr
Copy link

kylestarr commented Mar 3, 2024

Try updating python-version: 3.10.0 to python-version: "3.10". Mind the quotes around "3.10". This triggered a successful build for me.

name: Continuous Integration
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: "3.10"
          architecture: x64
      - name: Install dependencies
        run: pip install -r requirements.txt 
      - name: Run Tests
        run: python -m pytest

@ChrissyVadovszki
Copy link

omg thank you kyle, this was driving me a little cray cray.

@JonAdams99
Copy link

You can also check your current version of Python install and change it to that version. For me, it is: python-version: 3.12.4

@khvan84
Copy link

khvan84 commented Oct 6, 2024

Thanks. It worked for me. But there is another error about deprecated node. Nevertheless the it running and green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants