-
Notifications
You must be signed in to change notification settings - Fork 565
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
Version 3.10 with arch x64 not found #401
Comments
hello @BlueskyFR , can you please provide addional info about the ubuntu version of self-hosted runner? |
Sure, it is actually not Ubuntu but Debian Buster |
@BlueskyFR while i am reproducing the problem can please try quick solution of the setting AGENT_TOOLSDIRECTORY to
If this helps the original issue should be solved as soon as #394 merged |
I am still experiencing the issue. Tried both with the env var mentioned above, and also without
|
It is confirmed the problem relates to Debian boosters Succees on Ubuntu-20 We need a bit more time to investigate the problem with the specific distro |
@dsame For me it is failing even on Ubuntu-20.04 Description: Action version: latest Platform:
Runner type:
Tools version: 3.10, although it seems like all versions are affected Repro steps:
Expected behaviour: Actual behaviour: |
@deepankur797 , thanks for you input, can you please add the exact step you use to setup python? |
I have used the following code in my job
|
The short story: Debian is not supported, sorry The only workaround is - either to use Ubuntu for self-hosted machine (any virtualisation works fine) or to install python from the Debian specific repositories. Long story: The worst part is we hardly can fix the code because the python from tool cache is built against the libraries specific to the distribution and there's no certainty that the python will work the libraries from the other distribution. |
The step works without problem on Ubuntu 20.04
Can you please confirm you created |
@dsame thanks for the help it is working now. It was an issue created by some misconfig in the .actrc file as it was using the wrong image. It was overriding the ubuntu image using -P flag. |
PR actions/toolkit#1112 adds the debug message to clarify the reason the action fails. It is the best we can do for now according to the issue. |
Hello @BlueskyFR i am going to close this issue because it seems to be resolved and there's no other comments so far. Feel free to open new issue or reopen this one in case of any problem |
To be clear, other distros are officially NOT supported? |
Hello @Yarden-zmr , You are right. All the binaries are built against Ubuntu provided packages. |
- actions/setup-python#401 Signed-off-by: Chen lizhong <[email protected]>
- actions/setup-python#401 Signed-off-by: Chen lizhong <[email protected]> (cherry picked from commit 68c1d08)
* Fix gradient accumulation Add ``is_scaled_loss`` flag to support both scaled / unscaled loss Fix ``test_grad_accum`` and``test_set_num_gradients_to_accumulate`` * Add a method to scale grad for grad_accum using unscaled loss - Revert the changes in `step` method - Add a method `scale_grad_by_num_grads_to_accum`to handle gradient accumulation using unscaled loss more explicitly - Add gradient tests * Implement _compute_corr_mean_between_grads * Improve tests and comments * Use ubuntu-20.04 instead of latest Use ubuntu-20.04 to fix the `arch x64 not found` issue [Version 3.10 with arch x64 not found actions/setup-python#401](actions/setup-python#401) * Switch flake8 from gitlab to github Flake8 was moved to Github See discussions https://www.reddit.com/r/Python/comments/yvfww8/flake8_took_down_the_gitlab_repository_in_favor/ * Fix scikit-learn package * Update PyTorch versions * Resolve comments from Min * Minor fix * Disable broken tests for new versions of PyTorch
Use ubuntu-20.04 to fix the `arch x64 not found` issue [Version 3.10 with arch x64 not found actions/setup-python#401](actions/setup-python#401)
This reverts commit f31ddba3e56b019939094fe6559ae5f0eda22d92.
This is currently failing with Python3.10 and trying to use the latest ubuntu version (which I'm reading is 22.04) from Github-hosted runners. Tried the following: With v3:
Error:
With v4:
Error:
Edit:Fixed by using ubuntu-20.04 and specifying my full python version, "3.10.12" instead of "3.10" |
Downgrading to python 3.9 since 3.10 literally does not work on the latest ubuntu. See this link if you don't believe it: actions/setup-python#401
The solution is to quote 3.10, i.e.
otherwise it gets interpreted as a floating point number, and 3.10 (or 3.100, for that matter) becomes 3.1. Answering a few months later, because I had the same issue and searching on google for |
Similar issue as this: actions/setup-python#401 (comment) `3.10` gets interpreted as `3.1` when I want it to be `"3.10"`.
why is this issue closed? It is still not supported for debian even when python versions are available |
Similar issue as this: actions/setup-python#401 (comment) `3.10` gets interpreted as `3.1` when I want it to be `"3.10"`.
- actions/setup-python#401 Signed-off-by: Chen lizhong <[email protected]>
Similar issue as this: actions/setup-python#401 (comment) `3.10` gets interpreted as `3.1` when I want it to be `"3.10"`.
Description:
Version 3.10 with arch x64 is not found when running on self-hosted runner.
Action version: latest
Platform:
Runner type:
Tools version:
3.10, altough it seems like all versions are affected
Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
Version should be fetched correctly.
Actual behavior:
The 3.10 version for x64 exists but the error says otherwise.
The text was updated successfully, but these errors were encountered: