You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Pavansai07784. Thank you for your report. Which version of ubuntu do you use ? Where are your binaries located ? Did you define RUNNER_TOOL_CACHE or AGENT_TOOLSDIRECTORY env variables? Which values do they have ?
Hi, @dmitry-shibanov Thanks for responding quickly, It is a 64-bit Linux VM, and what do you mean by Binaries here? I haven't specified RUNNER_TOOL_CACHE or AGENT_TOOLSDIRECTORY
Hi, @dmitry-shibanov Thanks for responding quickly, It is a 64-bit Linux VM, and what do you mean by Binaries here? I haven't specified RUNNER_TOOL_CACHE or AGENT_TOOLSDIRECTORY
I mean where do you store python versions ? Could you please try to log values for RUNNER_TOOL_CACHE and AGENT_TOOLSDIRECTORY ?
Hello @Pavansai07784. Could you please try to set AGENT_TOOLSDIRECTORY as /opt/github/actions-runner/_work/_tool ? For more information please refer to this section of documentation. Besides, you can try to switch to the latest major tag (v4)
::group::Installed versions
Version 3.1[2](https://git.zymlove.top:50443/zymlove/update-system/actions/runs/6#jobstep-2-2).0 was not found in the local cache
::error::The version '[3](https://git.zymlove.top:50443/zymlove/update-system/actions/runs/6#jobstep-2-3).12.0' with architecture 'x64' was not found for this operating system.%0AThe list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
::group::Installed versions
Version 3.12.3 was not found in the local cache
::error::The version '3.12.3' with architecture 'x64' was not found for Fedora 39 undefined.%0AThe list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
Hi @Pavansai07784, Apologies for the delayed response. Could you please confirm if the issue is still relevant for you? I have tested from my end and was able to successfully install Python. Please see the attached screenshot for reference.
Thank you!
Hello Everyone, Please note that Python distributions are only available for environments that GitHub Actions hosted runners support. For Further information, you can refer to this document . Linux distributions such as redhat, centos7, Amazon and Debian are not supported by setup-python. Thank you for your understanding.
Hi @Pavansai07784,
This is a gentle reminder that we are awaiting your response on this issue. If there are no further queries, please let us know if we can proceed with closing it.
Hi @Pavansai07784, Due to inactivity, I'm going to close this issue for now. Please feel free to reopen this issue or create a new one if necessary. Thank you.
Hello Everyone, Please note that Python distributions are only available for environments that GitHub Actions hosted runners support. For Further information, you can refer to this document . Linux distributions such as redhat, centos7, Amazon and Debian are not supported by setup-python. Thank you for your understanding.
I'm having the same problem using the officially supported Github ARC (k8s self-hosted runner). Should it fail with that too?
For me the issue was not using quotes around the python version.
Got error when using python-version: 3.10
No error when adding single quotes python-version: '3.10'
The funny thing is that it worked without issues with python 3.9, and when I updated to 3.10 I got the error of not finding python version 3.1 (like it only reads one digit for the minor version).
Just for search records using Failed to resolve version 3.1 from manifest for Python 3.10,
the solution is the one described by @shachafl in #585 (comment)
For me the issue was not using quotes around the python version.
Got error when using python-version: 3.10
No error when adding single quotes python-version: '3.10'
The following configuration
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.10
was solved as follows, where python-version was treated as float (thus dropping the leading zero) 🤦
Run actions/setup-python@v5
with:
python-version: 3.1
check-latest: true
token: ***
update-environment: true
allow-prereleases: false
freethreaded: false
Installed versions
Failed to resolve version 3.1 from manifest
Version 3.1 was not found in the local cache
Error: The version '3.1' with architecture 'x64' was not found for Ubuntu
Activity
dmitry-shibanov commentedon Jan 11, 2023
Hello @Pavansai07784. Thank you for your report. Which version of ubuntu do you use ? Where are your binaries located ? Did you define
RUNNER_TOOL_CACHEorAGENT_TOOLSDIRECTORYenv variables? Which values do they have ?Pavansai07784 commentedon Jan 11, 2023
Hi, @dmitry-shibanov Thanks for responding quickly, It is a 64-bit Linux VM, and what do you mean by Binaries here? I haven't specified RUNNER_TOOL_CACHE or AGENT_TOOLSDIRECTORY
smithsp commentedon Jan 11, 2023
I am seeing a similar error.
yaml at https://github.com/gafusion/omas/blob/ec_cocos/.github/workflows/regression.yml
Error at https://github.com/gafusion/omas/actions/runs/3896178260
Mention @orso82 and @jmcclena
dmitry-shibanov commentedon Jan 11, 2023
I mean where do you store python versions ? Could you please try to log values for RUNNER_TOOL_CACHE and AGENT_TOOLSDIRECTORY ?
Pavansai07784 commentedon Jan 12, 2023
This is what i am using
uses: actions/setup-python@v3
with:
python-version: "3.8.16"
architecture: x64
env:
AGENT_TOOLSDIRECTORY: /opt/github/actions-runner/_work/_tool/Python/3.8.16/x64
dmitry-shibanov commentedon Jan 12, 2023
Hello @Pavansai07784. Could you please try to set AGENT_TOOLSDIRECTORY as
/opt/github/actions-runner/_work/_tool? For more information please refer to this section of documentation. Besides, you can try to switch to the latest major tag (v4)Pavansai07784 commentedon Jan 12, 2023
@dmitry-shibanov Still getting the same error
dmitry-shibanov commentedon Jan 12, 2023
Could you please attach logs and error message ?
Pavansai07784 commentedon Jan 12, 2023
2023-01-12T12:57:28.9315258Z ::group::Installed versions
2023-01-12T12:57:28.9315533Z ##[group]Installed versions
2023-01-12T12:57:28.9318957Z ##[debug]Semantic version spec of 3.8 is 3.8
2023-01-12T12:57:28.9322447Z ##[debug]isExplicit:
2023-01-12T12:57:28.9323778Z ##[debug]explicit? false
2023-01-12T12:57:28.9327475Z ##[debug]evaluating 0 versions
2023-01-12T12:57:28.9328047Z ##[debug]match not found
2023-01-12T12:57:28.9328843Z Version 3.8 was not found in the local cache
2023-01-12T12:57:28.9329776Z ##[debug]Getting manifest from actions/python-versions@main
2023-01-12T12:57:28.9332084Z ##[debug]set auth
2023-01-12T12:57:29.2557364Z ##[debug]check 3.12.0-alpha.4 satisfies 3.8
2023-01-12T12:57:29.2589746Z ##[debug]check 3.12.0-alpha.3 satisfies 3.8
2023-01-12T12:57:29.2595724Z ##[debug]check 3.12.0-alpha.2 satisfies 3.8
2023-01-12T12:57:29.2596254Z ##[debug]check 3.12.0-alpha.1 satisfies 3.8
2023-01-12T12:57:29.2596914Z ##[debug]check 3.11.1 satisfies 3.8
2023-01-12T12:57:29.2599827Z ##[debug]check 3.11.0 satisfies 3.8
2023-01-12T12:57:29.2600307Z ##[debug]check 3.11.0-rc.2 satisfies 3.8
2023-01-12T12:57:29.2600694Z ##[debug]check 3.11.0-rc.1 satisfies 3.8
2023-01-12T12:57:29.2601076Z ##[debug]check 3.11.0-beta.5 satisfies 3.8
2023-01-12T12:57:29.2602920Z ##[debug]check 3.11.0-beta.4 satisfies 3.8
2023-01-12T12:57:29.2604130Z ##[debug]check 3.11.0-beta.3 satisfies 3.8
2023-01-12T12:57:29.2605634Z ##[debug]check 3.11.0-beta.2 satisfies 3.8
2023-01-12T12:57:29.2606493Z ##[debug]check 3.11.0-beta.1 satisfies 3.8
2023-01-12T12:57:29.2607117Z ##[debug]check 3.11.0-alpha.7 satisfies 3.8
2023-01-12T12:57:29.2607513Z ##[debug]check 3.11.0-alpha.6 satisfies 3.8
2023-01-12T12:57:29.2608285Z ##[debug]check 3.11.0-alpha.5 satisfies 3.8
2023-01-12T12:57:29.2608759Z ##[debug]check 3.11.0-alpha.4 satisfies 3.8
2023-01-12T12:57:29.2609171Z ##[debug]check 3.11.0-alpha.3 satisfies 3.8
2023-01-12T12:57:29.2609577Z ##[debug]check 3.11.0-alpha.2 satisfies 3.8
2023-01-12T12:57:29.2610015Z ##[debug]check 3.11.0-alpha.1 satisfies 3.8
2023-01-12T12:57:29.2610478Z ##[debug]check 3.10.9 satisfies 3.8
2023-01-12T12:57:29.2610837Z ##[debug]check 3.10.8 satisfies 3.8
2023-01-12T12:57:29.2611160Z ##[debug]check 3.10.7 satisfies 3.8
2023-01-12T12:57:29.2611516Z ##[debug]check 3.10.6 satisfies 3.8
2023-01-12T12:57:29.2611833Z ##[debug]check 3.10.5 satisfies 3.8
2023-01-12T12:57:29.2612561Z ##[debug]check 3.10.4 satisfies 3.8
2023-01-12T12:57:29.2612932Z ##[debug]check 3.10.3 satisfies 3.8
2023-01-12T12:57:29.2613339Z ##[debug]check 3.10.2 satisfies 3.8
2023-01-12T12:57:29.2613837Z ##[debug]check 3.10.1 satisfies 3.8
2023-01-12T12:57:29.2614166Z ##[debug]check 3.10.0 satisfies 3.8
2023-01-12T12:57:29.2615055Z ##[debug]check 3.10.0-rc.2 satisfies 3.8
2023-01-12T12:57:29.2615674Z ##[debug]check 3.10.0-rc.1 satisfies 3.8
2023-01-12T12:57:29.2616054Z ##[debug]check 3.10.0-beta.4 satisfies 3.8
2023-01-12T12:57:29.2616441Z ##[debug]check 3.10.0-beta.3 satisfies 3.8
2023-01-12T12:57:29.2616813Z ##[debug]check 3.10.0-beta.2 satisfies 3.8
2023-01-12T12:57:29.2617664Z ##[debug]check 3.10.0-beta.1 satisfies 3.8
2023-01-12T12:57:29.2618240Z ##[debug]check 3.10.0-alpha.7 satisfies 3.8
2023-01-12T12:57:29.2618635Z ##[debug]check 3.10.0-alpha.6 satisfies 3.8
2023-01-12T12:57:29.2619047Z ##[debug]check 3.10.0-alpha.5 satisfies 3.8
2023-01-12T12:57:29.2619420Z ##[debug]check 3.10.0-alpha.4 satisfies 3.8
2023-01-12T12:57:29.2619811Z ##[debug]check 3.10.0-alpha.3 satisfies 3.8
2023-01-12T12:57:29.2620182Z ##[debug]check 3.10.0-alpha.2 satisfies 3.8
2023-01-12T12:57:29.2620560Z ##[debug]check 3.10.0-alpha.1 satisfies 3.8
2023-01-12T12:57:29.2620904Z ##[debug]check 3.9.16 satisfies 3.8
2023-01-12T12:57:29.2621240Z ##[debug]check 3.9.15 satisfies 3.8
2023-01-12T12:57:29.2621568Z ##[debug]check 3.9.14 satisfies 3.8
2023-01-12T12:57:29.2621901Z ##[debug]check 3.9.13 satisfies 3.8
2023-01-12T12:57:29.2622216Z ##[debug]check 3.9.12 satisfies 3.8
2023-01-12T12:57:29.2622558Z ##[debug]check 3.9.11 satisfies 3.8
2023-01-12T12:57:29.2622894Z ##[debug]check 3.9.10 satisfies 3.8
2023-01-12T12:57:29.2623215Z ##[debug]check 3.9.9 satisfies 3.8
2023-01-12T12:57:29.2623739Z ##[debug]check 3.9.8 satisfies 3.8
2023-01-12T12:57:29.2624060Z ##[debug]check 3.9.7 satisfies 3.8
2023-01-12T12:57:29.2624682Z ##[debug]check 3.9.6 satisfies 3.8
2023-01-12T12:57:29.2624996Z ##[debug]check 3.9.5 satisfies 3.8
2023-01-12T12:57:29.2625332Z ##[debug]check 3.9.4 satisfies 3.8
2023-01-12T12:57:29.2625653Z ##[debug]check 3.9.3 satisfies 3.8
2023-01-12T12:57:29.2625980Z ##[debug]check 3.9.2 satisfies 3.8
2023-01-12T12:57:29.2626342Z ##[debug]check 3.9.2-rc.1 satisfies 3.8
2023-01-12T12:57:29.2626672Z ##[debug]check 3.9.1 satisfies 3.8
2023-01-12T12:57:29.2627037Z ##[debug]check 3.9.1-rc.1 satisfies 3.8
2023-01-12T12:57:29.2627369Z ##[debug]check 3.9.0 satisfies 3.8
2023-01-12T12:57:29.2627733Z ##[debug]check 3.9.0-rc.2 satisfies 3.8
2023-01-12T12:57:29.2628092Z ##[debug]check 3.9.0-rc.1 satisfies 3.8
2023-01-12T12:57:29.2628460Z ##[debug]check 3.9.0-beta.5 satisfies 3.8
2023-01-12T12:57:29.2628970Z ##[debug]check 3.9.0-beta.4 satisfies 3.8
2023-01-12T12:57:29.2629298Z ##[debug]check 3.8.16 satisfies 3.8
2023-01-12T12:57:29.2629640Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2629972Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2631546Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2631881Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2632218Z ##[debug]check 3.8.15 satisfies 3.8
2023-01-12T12:57:29.2632697Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2633040Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2633353Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2634174Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2634709Z ##[debug]check 3.8.14 satisfies 3.8
2023-01-12T12:57:29.2635033Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2635365Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2635696Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2636015Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2636328Z ##[debug]check 3.8.13 satisfies 3.8
2023-01-12T12:57:29.2636660Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2636983Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2637321Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2637636Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2637964Z ##[debug]check 3.8.12 satisfies 3.8
2023-01-12T12:57:29.2638301Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2638630Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2638951Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2639267Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2639603Z ##[debug]check 3.8.11 satisfies 3.8
2023-01-12T12:57:29.2639924Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2640245Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2640554Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2640891Z ##[debug]check 3.8.10 satisfies 3.8
2023-01-12T12:57:29.2641229Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2641545Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2641880Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2642189Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2642511Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2642831Z ##[debug]check 3.8.9 satisfies 3.8
2023-01-12T12:57:29.2643165Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2643577Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2643902Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2644218Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2644539Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2644857Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2645193Z ##[debug]check 3.8.8 satisfies 3.8
2023-01-12T12:57:29.2645537Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2645848Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2646165Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2646472Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2646803Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2647111Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2647433Z ##[debug]check 3.8.7 satisfies 3.8
2023-01-12T12:57:29.2647933Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2648264Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2648576Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2648926Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2649250Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2649557Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2650220Z ##[debug]check 3.8.6 satisfies 3.8
2023-01-12T12:57:29.2650544Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2650885Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2651204Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2651528Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2651827Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2652151Z ##[debug]check 3.8.5 satisfies 3.8
2023-01-12T12:57:29.2652472Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2652800Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2653119Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2653534Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2653874Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2654181Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2654635Z ##[debug]check 3.8.4 satisfies 3.8
2023-01-12T12:57:29.2654967Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2655291Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2655618Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2655936Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2656246Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2656577Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2656884Z ##[debug]check 3.8.3 satisfies 3.8
2023-01-12T12:57:29.2657221Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2657557Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2657864Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2658193Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2658516Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2658832Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2659141Z ##[debug]check 3.8.2 satisfies 3.8
2023-01-12T12:57:29.2659465Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2659783Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2660101Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2660415Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2660724Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2661057Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2661381Z ##[debug]check 3.8.1 satisfies 3.8
2023-01-12T12:57:29.2661714Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2662034Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2662361Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2662671Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2663002Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2663303Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2663880Z ##[debug]check 3.8.0 satisfies 3.8
2023-01-12T12:57:29.2664205Z ##[debug]x64===x64 && darwin===linux
2023-01-12T12:57:29.2664536Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2664854Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2665183Z ##[debug]x64===x64 && linux===linux
2023-01-12T12:57:29.2665620Z ##[debug]x64===x64 && win32===linux
2023-01-12T12:57:29.2665939Z ##[debug]x86===x64 && win32===linux
2023-01-12T12:57:29.2666263Z ##[debug]check 3.7.15 satisfies 3.8
2023-01-12T12:57:29.2666580Z ##[debug]check 3.7.14 satisfies 3.8
2023-01-12T12:57:29.2666918Z ##[debug]check 3.7.13 satisfies 3.8
2023-01-12T12:57:29.2667238Z ##[debug]check 3.7.12 satisfies 3.8
2023-01-12T12:57:29.2667565Z ##[debug]check 3.7.11 satisfies 3.8
2023-01-12T12:57:29.2667880Z ##[debug]check 3.7.10 satisfies 3.8
2023-01-12T12:57:29.2668212Z ##[debug]check 3.7.9 satisfies 3.8
2023-01-12T12:57:29.2668532Z ##[debug]check 3.7.8 satisfies 3.8
2023-01-12T12:57:29.2668861Z ##[debug]check 3.7.7 satisfies 3.8
2023-01-12T12:57:29.2669329Z ##[debug]check 3.7.6 satisfies 3.8
2023-01-12T12:57:29.2669681Z ##[debug]check 3.7.5 satisfies 3.8
2023-01-12T12:57:29.2670003Z ##[debug]check 3.7.1 satisfies 3.8
2023-01-12T12:57:29.2670330Z ##[debug]check 3.6.15 satisfies 3.8
2023-01-12T12:57:29.2670657Z ##[debug]check 3.6.14 satisfies 3.8
2023-01-12T12:57:29.2670978Z ##[debug]check 3.6.13 satisfies 3.8
2023-01-12T12:57:29.2671380Z ##[debug]check 3.6.12 satisfies 3.8
2023-01-12T12:57:29.2671702Z ##[debug]check 3.6.11 satisfies 3.8
2023-01-12T12:57:29.2672033Z ##[debug]check 3.6.10 satisfies 3.8
2023-01-12T12:57:29.2672356Z ##[debug]check 3.6.9 satisfies 3.8
2023-01-12T12:57:29.2672690Z ##[debug]check 3.6.8 satisfies 3.8
2023-01-12T12:57:29.2673000Z ##[debug]check 3.6.7 satisfies 3.8
2023-01-12T12:57:29.2673337Z ##[debug]check 3.5.10 satisfies 3.8
2023-01-12T12:57:29.2673733Z ##[debug]check 3.5.9 satisfies 3.8
2023-01-12T12:57:29.2674084Z ##[debug]check 3.5.4 satisfies 3.8
2023-01-12T12:57:29.2674416Z ##[debug]check 3.4.10 satisfies 3.8
2023-01-12T12:57:29.2674742Z ##[debug]check 3.4.4 satisfies 3.8
2023-01-12T12:57:29.2675074Z ##[debug]check 3.3.7 satisfies 3.8
2023-01-12T12:57:29.2675413Z ##[debug]check 3.3.5 satisfies 3.8
2023-01-12T12:57:29.2675835Z ##[debug]check 3.2.5 satisfies 3.8
2023-01-12T12:57:29.2676187Z ##[debug]check 3.1.4 satisfies 3.8
2023-01-12T12:57:29.2676506Z ##[debug]check 3.0.1 satisfies 3.8
2023-01-12T12:57:29.2676845Z ##[debug]check 2.7.18 satisfies 3.8
2023-01-12T12:57:29.2677165Z ##[debug]check 2.7.17 satisfies 3.8
2023-01-12T12:57:29.2692310Z ##[debug]Unable to locate executable file: lsb_release. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
2023-01-12T12:57:29.2717007Z ##[error]The version '3.8' 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
2023-01-12T12:57:29.2752273Z ##[debug]Node Action run completed with exit code 1
2023-01-12T12:57:29.2758448Z ##[debug]Finishing: Run actions/setup-python@v4
dmitry-shibanov commentedon Jan 12, 2023
Did you enable cache functionality ? Could you please run this command on your self-hosted runner
apt-get update && apt-get install -y lsb-releasePavansai07784 commentedon Jan 12, 2023
Its as redhat Linux VM, I have did yum update and yum install -y redhat-lsb-core, Now getting the below error
Version 3.8 was not found in the local cache
Error: The version '3.8' with architecture 'x64' was not found for OracleServer 7.9 undefined.
12 remaining items
Liyouran-center commentedon Apr 24, 2024
我今天也遇到这个问题了,在我的两个自托管Act Runner上都发生了
这是我的错误信息
这是我的部分action文件
这是我的Act Runner平台信息
现在有什么临时解决方法吗?
tobiashochguertel commentedon Apr 30, 2024
Same here, with Fedora Linux.
After installing
lsb_release:bjoern-js commentedon May 24, 2024
Debug Output from Github Runner on self hosted debian:
v-gowridurgad commentedon Oct 25, 2024
Hi @Pavansai07784, Apologies for the delayed response. Could you please confirm if the issue is still relevant for you? I have tested from my end and was able to successfully install Python. Please see the attached screenshot for reference.
Thank you!
lkchava commentedon Nov 4, 2024
Surprised to see still we don't have any solution. We are also running into same issue.
Error: The version '3.12.0' 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
Update: This issue occurred in a scenario of docker-in-docker. The way we resolved is to install it with apt commands.
v-gowridurgad commentedon Nov 6, 2024
Hello Everyone, Please note that Python distributions are only available for environments that GitHub Actions hosted runners support. For Further information, you can refer to this document . Linux distributions such as redhat, centos7, Amazon and Debian are not supported by setup-python. Thank you for your understanding.
v-gowridurgad commentedon Nov 18, 2024
Hi @Pavansai07784,
This is a gentle reminder that we are awaiting your response on this issue. If there are no further queries, please let us know if we can proceed with closing it.
v-gowridurgad commentedon Nov 25, 2024
Hi @Pavansai07784, Due to inactivity, I'm going to close this issue for now. Please feel free to reopen this issue or create a new one if necessary. Thank you.
israelbgf commentedon Feb 7, 2025
I'm having the same problem using the officially supported Github ARC (k8s self-hosted runner). Should it fail with that too?
shachafl commentedon Mar 27, 2025
For me the issue was not using quotes around the python version.
Got error when using
python-version: 3.10No error when adding single quotes
python-version: '3.10'The funny thing is that it worked without issues with python 3.9, and when I updated to 3.10 I got the error of not finding python version 3.1 (like it only reads one digit for the minor version).
Toni-SM commentedon Mar 29, 2025
Just for search records using Failed to resolve version 3.1 from manifest for Python 3.10,
the solution is the one described by @shachafl in #585 (comment)
The following configuration
was solved as follows, where
python-versionwas treated as float (thus dropping the leading zero) 🤦fix actions error