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

Error: Could not find Python matching spec 3.6 (x64) in the python-versions registry #9

Open
vienleidl opened this issue Dec 6, 2022 · 0 comments · May be fixed by #10
Open

Error: Could not find Python matching spec 3.6 (x64) in the python-versions registry #9

vienleidl opened this issue Dec 6, 2022 · 0 comments · May be fixed by #10

Comments

@vienleidl
Copy link

Change the YAML pipeline file to 3.10 and it works.

##[warning]You should provide GitHub token if you want to download a python release. Otherwise you may hit the GitHub anonymous download limit.
##[error]Failed to download Python from the Github Actions python registry (https://github.com/actions/python-versions). Error: Error: Could not find Python matching spec 3.6 (x64) in the python-versions registry. Beware that only systems listed in the Github Actions python versions manifest (https://github.com/actions/python-versions/blob/main/versions-manifest.json) are fit for downloading python on-flight. Also, proxy is not supported.
##[error]Version spec 3.6 for architecture x64 did not match any version in Agent.ToolsDirectory.
Versions in /opt/hostedtoolcache:

3.10.8 (x64)
3.11.0 (x64)
3.7.15 (x64)
3.8.14 (x64)
3.9.15 (x64)
If this is a Microsoft-hosted agent, check that this image supports side-by-side versions of Python at https://aka.ms/hosted-agent-software.
If this is a self-hosted agent, see how to configure side-by-side Python versions at https://go.microsoft.com/fwlink/?linkid=871498.
Finishing: Use Python 3.6
vienleidl added a commit to vienleidl/azure.policy.monitor that referenced this issue Dec 6, 2022
@vienleidl vienleidl linked a pull request Dec 6, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant